commit | 60d308168b68b769e7ab5aeb6db9f55e24904611 | [log] [tgz] |
---|---|---|
author | Beverly <beverlyt@google.com> | Thu Apr 29 14:46:48 2021 -0400 |
committer | Beverly <beverlyt@google.com> | Thu Apr 29 14:53:09 2021 -0400 |
tree | 54198cdccd8dbd8f29da5fef148b5b27097360d1 | |
parent | 98b6d799d9aa92be86e5b6aa4524649fc57aea18 [diff] |
Add callback to DozeParameters on alwaysOn change Previously, the tuner callback would be called on the StatusBar before DozeParameters, so the StatusBar would update with stale information. Instead of relying on the ordering of the tuner, directly register a callback to DozeParameters when the ALWAYS_ON setting is updated. Test: manual, atest SystemUITests Fixes: 186376450 Change-Id: Id3523ea33b451a2f565806cac636dfb59a125b30