diff options
author | John Spurlock <jspurlock@google.com> | 2014-08-25 12:19:41 -0400 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2014-08-25 14:17:27 -0400 |
commit | c6eed84855e63ef023b83116eb95185816dcba5f (patch) | |
tree | 036a552590151a12372ecf8bdae548c6c62d3420 /packages/SystemUI/src/com/android/systemui/doze | |
parent | 6adf1588fd2bccb8cf95a9c3456230bba805fab9 (diff) | |
download | frameworks_base-c6eed84855e63ef023b83116eb95185816dcba5f.zip frameworks_base-c6eed84855e63ef023b83116eb95185816dcba5f.tar.gz frameworks_base-c6eed84855e63ef023b83116eb95185816dcba5f.tar.bz2 |
Doze: Only doze as owner.
The SystemUI notification doze implementation needs to run in the
main systemui process.
Bug:16900344
Change-Id: I8b21609087a4bb971bff36fb463eb2482190cd8f
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/doze')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/doze/DozeService.java | 2 |
1 files changed, 2 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 fe1e5db..d17e263 100644 --- a/packages/SystemUI/src/com/android/systemui/doze/DozeService.java +++ b/packages/SystemUI/src/com/android/systemui/doze/DozeService.java @@ -87,6 +87,7 @@ public class DozeService extends DreamService { protected void dumpOnHandler(FileDescriptor fd, PrintWriter pw, String[] args) { super.dumpOnHandler(fd, pw, args); pw.print(" mDreaming: "); pw.println(mDreaming); + pw.print(" mHost: "); pw.println(mHost); pw.print(" mBroadcastReceiverRegistered: "); pw.println(mBroadcastReceiverRegistered); pw.print(" mSigMotionSensor: "); pw.println(mSigMotionSensor); pw.print(" mPickupSensor:"); pw.println(mPickupSensor); @@ -107,6 +108,7 @@ public class DozeService extends DreamService { final SystemUIApplication app = (SystemUIApplication) getApplication(); mHost = app.getComponent(Host.class); } + if (mHost == null) Log.w(TAG, "No doze service host found."); setWindowless(true); |