diff options
author | Kweku Adams <kwekua@google.com> | 2019-06-04 16:32:49 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2019-06-05 16:19:28 -0700 |
commit | 7c96f518265ca433e24b8c34f41397a46c151d1b (patch) | |
tree | 7688c9eafd5058c44ce0cb27c3be1e3a7f38ff85 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | cf2ff61cceb9a22d6813cdf78da6b41d2fd724a1 (diff) |
Fix Device Idle resetting.
When detected motion stopped deep state from going further, some of
the other state variables were reset. However, if the device was in a
light idle maintenance window at that time, the maintenance start time
would be reset, which would affect light idle's budget maintenance. The
light delay time was also reset, which would cause the system to set an
alarm for 0 seconds after the light idle maintenance window ended, and
cause the light idle durations to start from the minimum value again.
Bug: 132968628
Test: atest com.android.server.DeviceIdleControllerTest
Change-Id: I6c9f5a314e61729eabd6d975604562c494e84351
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions