summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorLucas Dupin <dupin@google.com>2019-09-25 13:39:21 -0700
committerLucas Dupin <dupin@google.com>2019-09-27 14:39:26 -0700
commitbd7366dc02b15442b13b9742ae563ccd1266696b (patch)
tree69866faa330776666fc3999e39e9f744658c1953 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent4bec4b2fd9e246476be840dc1f751e4cdc861a8d (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
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions