commit | 06bf824628c118fbd5ad6756913d7fd63a6f4ce5 | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Fri May 08 16:36:21 2015 -0700 |
committer | Amith Yamasani <yamasani@google.com> | Mon May 11 17:46:14 2015 -0700 |
tree | 91e73265354432cf4d82543366ce11dddf19247b | |
parent | a5b2684c25add3ba6ebc43c27a1abc6bce2b2af4 [diff] |
Idle timebase Use screen on time as timebase for idling out apps that have been inactive. Store the time when an app was last active as an additional package state in UsageStats. Compare it to screenOnTime to decide if it's inactive. Exclude device idle whitelist from apps that can go inactive. Bug: 20066058 Change-Id: I709f9f31a9affa7ca6e1ae3e4c5729c5fb221669