diff options
author | Adam Lesinski <adamlesinski@google.com> | 2016-08-17 15:21:16 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2016-08-17 16:42:46 -0700 |
commit | f2d87eba750d15093c996c1dbae7b755a7462478 (patch) | |
tree | b009efddccd9452b0680a3c046095269dde887cf /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | ee4ff424ea01425e2b647a3017303442e52740aa (diff) |
AppIdleHistory: Only write screen on durations during regular sync
Stop writing to disk every time the display goes off. Only write to
disk periodically.
Consequences
Previously, if the device rebooted after the screen duration was written
to disk, apps would appear more stale than they actually were.
Now apps will always look fresher, which is a better scenario.
Bug:30807864
Change-Id: Ia69a2e51fc9e397789215b449fae56fa3e29c74a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions