commit | 53f06eae611ffa559f80d9efaddba17544eb7819 | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Fri Jan 05 17:53:46 2018 -0800 |
committer | Amith Yamasani <yamasani@google.com> | Mon Jan 08 17:22:15 2018 -0800 |
tree | 93a915c73e996fe288196dea0972acaed1843bf6 | |
parent | dc4cb146315240441fc8d9c05fe8dd63370a7c57 [diff] |
Track last job run time JobScheduler can store the last job run time for an app and use it later to help with throttling. Also, allow reporting a usage for a temporary period. This will put the app in ACTIVE for a minimum specified period during which timeouts and predictions will not be able to reduce the bucket level. Bug: 71536897 Test: atest AppIdleHistoryTests atest AppStandbyControllerTests Change-Id: I2985f7f3766671f15ea641972346c69875f17946