commit | 3154dcf94a4f451d2b32607b30cdd070e61bd2ae | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Tue Mar 27 18:24:04 2018 -0700 |
committer | Amith Yamasani <yamasani@google.com> | Wed Mar 28 13:49:21 2018 -0700 |
tree | 7d9bd214a5b4f9a6d094d633e64365c28733a5be | |
parent | 11866a4242fce0df45ff95930e3453093c68e8ea [diff] |
Fallback to ML prediction after short ACTIVE states When an app is temporarily elevated to ACTIVE state for some reason, keep track of the last predicted bucket and drop back to that if the ACTIVE state ends. Also keep track of prediction during a forced ACTIVE state, even if it's not applied right away. Bug: 77158823 Test: atest AppStandbyControllerTests Change-Id: Ic6de6c24bb25c5392ac5b41a2c05889d94f23436