Keyboard Backlight for D4 set to screen brightness#3
Open
jsnweitzel wants to merge 2 commits intoSTS-Dev-Team:cm-10.1from
jsnweitzel:cm-10.1
Open
Keyboard Backlight for D4 set to screen brightness#3jsnweitzel wants to merge 2 commits intoSTS-Dev-Team:cm-10.1from jsnweitzel:cm-10.1
jsnweitzel wants to merge 2 commits intoSTS-Dev-Team:cm-10.1from
jsnweitzel:cm-10.1
Conversation
modified: services/java/com/android/server/power/DisplayPowerController.java modified: services/java/com/android/server/power/PowerManagerService.java Change-Id: I0d7cacff6377c69522a2d2e90f115722c5ad662f
Author
|
Ok your right this kills the razr...wouldn't even boot. The answer really needs to be in the device tree I suppose. |
Member
|
or possibly add a NULL check for mLightsService |
Author
|
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. |
Member
|
Maybe like this? |
Author
|
Tried what you suggested and a few variations. None worked. I will keep trying when I have some time. |
Author
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
modified: services/java/com/android/server/power/DisplayPowerController.java
modified: services/java/com/android/server/power/PowerManagerService.java
Change-Id: I0d7cacff6377c69522a2d2e90f115722c5ad662f