-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keyboard Backlight for D4 set to screen brightness #3
base: cm-10.1
Are you sure you want to change the base?
Conversation
modified: services/java/com/android/server/power/DisplayPowerController.java modified: services/java/com/android/server/power/PowerManagerService.java Change-Id: I0d7cacff6377c69522a2d2e90f115722c5ad662f
Ok your right this kills the razr...wouldn't even boot. The answer really needs to be in the device tree I suppose. |
or possibly add a NULL check for mLightsService |
That thought occurred to me but i wasn't sure of the best location. Show me where to put it and I can try it out. |
Maybe like this?
|
Tried what you suggested and a few variations. None worked. I will keep trying when I have some time. |
Check this out LiquidSmooth-Old/android_frameworks_base@a51ac16 You can remove the liblight hack in the d4 tree and keyboard light will go out when not used/closed. |
modified: services/java/com/android/server/power/DisplayPowerController.java
modified: services/java/com/android/server/power/PowerManagerService.java
Change-Id: I0d7cacff6377c69522a2d2e90f115722c5ad662f