diff options
author | John Spurlock <jspurlock@google.com> | 2014-07-26 17:09:56 -0400 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2014-07-26 17:09:56 -0400 |
commit | cad5768e22e5132efb2e5179f4988a763c7a8d9e (patch) | |
tree | f8d91ee27d2d2af74899c98305d90246b63ddd99 /packages/SystemUI/src/com/android/systemui/doze | |
parent | f0f0f7ca66e15c5cebfbcf38a8d1e576b3e6e335 (diff) | |
download | frameworks_base-cad5768e22e5132efb2e5179f4988a763c7a8d9e.zip frameworks_base-cad5768e22e5132efb2e5179f4988a763c7a8d9e.tar.gz frameworks_base-cad5768e22e5132efb2e5179f4988a763c7a8d9e.tar.bz2 |
Doze: Update tease signal to buzz-beep-blink from NoMan.
Inform SystemUI when NoMan buzzes, beeps or blinks. Use that
as the notification signal when dozing instead of trying to figure
out interesting panel content updates.
At some point, we should move the entire calculation up into SystemUI
itself, but that's too large of a refactoring to perform now.
Bug:15863249
Change-Id: I40e92334977e0676a1363774c2cbbf91d72ec8e5
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/doze')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/doze/DozeService.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/doze/DozeService.java b/packages/SystemUI/src/com/android/systemui/doze/DozeService.java index 333b8b4..01b30ca 100644 --- a/packages/SystemUI/src/com/android/systemui/doze/DozeService.java +++ b/packages/SystemUI/src/com/android/systemui/doze/DozeService.java @@ -292,6 +292,11 @@ public class DozeService extends DreamService { @Override public void onNewNotifications() { if (DEBUG) Log.d(mTag, "onNewNotifications"); + // noop for now + } + @Override + public void onBuzzBeepBlinked() { + if (DEBUG) Log.d(mTag, "onBuzzBeepBlinked"); requestTease(); } }; @@ -305,6 +310,7 @@ public class DozeService extends DreamService { public interface Callback { void onNewNotifications(); + void onBuzzBeepBlinked(); } } } |