Quote:
Originally Posted by 305869
Thank you for the response.
I am not a developer. But I looked at android-luajit-launcher commits for a bit.
It seems like maybe in app/src/main/java/org/koreader/launcher/device/LightsFactory.kt the line 27
Code:
DeviceInfo.LightsDevice.ONYX_LEAF,
just needs to be removed so that the generic light drivers are used.
But I am not sure and I have no way to test. Does this seem right to you?
If it's that simple I would be happy to submit a pull request. Otherwise I will wait for someone more knowledgeable to do it.
|
Hi, nope. It doesn't look good.
Generic is the default light driver that's assigned to every android device unless overriden by specific device definitions.
You need to add your device name to the lightsMap and assing the proper controller in LightsFactory (onyx warmth).
Pretty much like in
https://github.com/koreader/android-...ca6e664cea40a4, except you don't need to touch the device definition & match because it is already there.
Please give me a few days.