commit | 121e025664cc5038b691115452b1154c1e59b6d7 | [log] [tgz] |
---|---|---|
author | Robert Horvath <robhor@google.com> | Tue Nov 19 14:09:48 2019 +0100 |
committer | Robert Horvath <robhor@google.com> | Tue Nov 19 14:59:15 2019 +0100 |
tree | 2891ba337d19ff90f54bedf89c9ff7e77a4bb114 | |
parent | e19f8a61ca1f4c14320ff0877d03dccf6ded86d3 [diff] |
Move InattentiveSleepWarningController callbacks to PowerUI The inattentive sleep warnings are related to the power state of the deivce, and by keeping the inattentive sleep warning callbacks inside PowerUI, we reduce the number of components that have to be configured across the different SystemUI packages. Bug: 137633812 Test: adb shell settings put secure attentive_timeout 32000 Check overlay appears Change-Id: I7896c395a26eb5bdd67bb3ab48fc590beef8cec3