From e9f4e96c0a0fd543d9b4c54c5d1c222cb2a9d3be Mon Sep 17 00:00:00 2001 From: Heemin Seog Date: Thu, 5 Dec 2019 11:55:27 -0800 Subject: 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 --- .../android/systemui/plugins/statusbar/StatusBarStateController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/SystemUI/plugin') 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(); -- cgit v1.2.3-59-g8ed1b