summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorLucas Dupin <dupin@google.com>2019-09-25 13:39:21 -0700
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-10-11 02:35:07 +0000
commitcac03faf1a82f701b6a614e5c02fb2d14b6d4be2 (patch)
treef0d7a2a2a9251cd5eaa0d84be2ee4d1cdea19ef2 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent17d308d142011046c6945ba84706eace327b0f06 (diff)
Keep interrupts on when in battery saver mode
Battery saver was completely aborting the doze service, disabling all interrupts. This is not ideal since it impacts the user journey, especially when using face auth. From now on the screen will still be off, but DozeService will be retained, in order to receive sensor events. Test: w/ battery saver: lift, tap, and observe aod being off Test: w/ battery saver: receive notification, no HUN. Test: w/o battery saver: lift, tap, and observe aod being on Test: w/o battery saver: receive notification, HUN is received. Fixes: 134157254 Change-Id: I9b713c78857c4e4c22d8d9bfff165b1b51dfd804 Merged-In: I9b713c78857c4e4c22d8d9bfff165b1b51dfd804 (cherry picked from commit 6edeb187015a04e7ff6a8f06275336b7e4ac82e7)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions