commit | f2d87eba750d15093c996c1dbae7b755a7462478 | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Wed Aug 17 15:21:16 2016 -0700 |
committer | Adam Lesinski <adamlesinski@google.com> | Wed Aug 17 16:42:46 2016 -0700 |
tree | b009efddccd9452b0680a3c046095269dde887cf | |
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