commit | 84cd7b7a9e5ad6a604c075bc620f6bd9ab6b1486 | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Tue Nov 07 13:59:37 2017 -0800 |
committer | Amith Yamasani <yamasani@google.com> | Wed Nov 08 15:06:10 2017 -0800 |
tree | 390384df5fe3d1c8dd90f2b829eb90026cfa2afe | |
parent | da71266f6ca9511a928ced0492277e4c0ae48df2 [diff] |
Allow standby timeouts to occur after usage And inform listeners when the bucket changes, not just when going in and out of RARE bucket. Avoid redundant callbacks when informing listeners. Bug: 63527785 Test: runtest -x frameworks/base/services/tests/servicestests/src/com/android/server/usage/AppStandbyControllerTests.java Change-Id: Icd98d59f597147fbf8ea4bf44edf4b3b3d5c8e14