summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorraylinhsu <raylinhsu@google.com>2021-01-06 15:58:05 +0800
committerraylinhsu <raylinhsu@google.com>2021-01-12 13:43:53 +0800
commit400e7d5dda91c58690f8febba4132856e560663d (patch)
tree5a3dc61fa71047dda6f0b7fb7e4fa1dfd7a00a9d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentc58d6f66536043fcaa6b6b183f626a7fbb79776c (diff)
Fix the ambient lux which did not update for blocking zone
When the display enters doze mode, it should unregister the light sensor. It should register light sensor again when the display state change from doze to on otherwise we will lost lux information and then the refresh rate could not be locked. Bug: 176018998 Test: atest DisplayModeDirectorTest Test: no fps transition in the blocking zone when the display state change Test: check if the lux will update when the display state change Change-Id: Ibf2e7cb2e336c88a583f00f59abcbc9d06ec3d62 Merged-In: Ibf2e7cb2e336c88a583f00f59abcbc9d06ec3d62
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions