commit | bbbad9cc0fc1def37bcec1fc8626e3c0ab6e3491 | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Sat Feb 10 16:46:38 2018 -0800 |
committer | Amith Yamasani <yamasani@google.com> | Wed Feb 14 09:26:46 2018 -0800 |
tree | bc2928a393f1244b0db50623ab4e76e7ba451b8e | |
parent | d591904d1d95707e7de97f2805b666f9ce32ec53 [diff] |
Cascading timeouts for App Standby Fixes overlapping of predictions, strong usage events and mild usage events which have forced durations. Having separate timeouts for ACTIVE and WORKING_SET and moving between them when necessary prevents getting stuck in the wrong state (higher) for longer than necessary. Bug: 73294677 Test: atest FrameworksServicesTests:AppStandbyControllerTests Change-Id: I35530e62cffe2c86945b5da64a41704f807708ce