diff options
| author | 2019-12-05 11:55:27 -0800 | |
|---|---|---|
| committer | 2019-12-09 12:32:28 -0800 | |
| commit | e9f4e96c0a0fd543d9b4c54c5d1c222cb2a9d3be (patch) | |
| tree | 5e13d9066bcfbca9cb80c006f63be39ee5d0b89a /packages/SystemUI/plugin | |
| parent | 3f9ba67fa70aeda4aa0863f0cbef0b8150b9e58b (diff) | |
Move dozing related methods out of ShadeController
isDozing is already provided by StatusBarStateController.
wakeUpIfDozing doesn't need to be in ShadeController and can stay in
StatusBar for now (potentially move into a dozing related controller in
the future?)
Bug: 144702768
Test: manual, atest SystemUITests
Change-Id: I8f7d6a452388308de5fdd1adfbcd200fd3076a2f
Diffstat (limited to 'packages/SystemUI/plugin')
| -rw-r--r-- | packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/StatusBarStateController.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/StatusBarStateController.java b/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/StatusBarStateController.java index b21a9f7c4d05..6c4cbdf27fa5 100644 --- a/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/StatusBarStateController.java +++ b/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/StatusBarStateController.java @@ -34,7 +34,8 @@ public interface StatusBarStateController { int getState(); /** - * Is device dozing + * Is device dozing. Dozing is when the screen is in AOD or asleep given that + * {@link com.android.systemui.doze.DozeService} is configured. */ boolean isDozing(); |