diff options
| author | Dianne Hackborn <hackbod@google.com> | 2012-11-28 15:03:39 -0800 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-11-28 15:03:39 -0800 |
| commit | 68e0da7e397f6808a90509615c08c62bb00af6ba (patch) | |
| tree | 5062b69f91f6bd99f12ade6121ebf78a7551db62 /services/java/com/android/server/dreams/DreamManagerService.java | |
| parent | ceafd15df99ed77c9e9ed5e93d2c1f062a095169 (diff) | |
| parent | 40e9f2922cae76ffcbc521481e5be8e80e8744ef (diff) | |
| download | frameworks_base-68e0da7e397f6808a90509615c08c62bb00af6ba.zip frameworks_base-68e0da7e397f6808a90509615c08c62bb00af6ba.tar.gz frameworks_base-68e0da7e397f6808a90509615c08c62bb00af6ba.tar.bz2 | |
Merge "Quiet down a lot of logging." into jb-mr1.1-dev
Diffstat (limited to 'services/java/com/android/server/dreams/DreamManagerService.java')
| -rw-r--r-- | services/java/com/android/server/dreams/DreamManagerService.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/services/java/com/android/server/dreams/DreamManagerService.java b/services/java/com/android/server/dreams/DreamManagerService.java index 1f40176..7e4a554 100644 --- a/services/java/com/android/server/dreams/DreamManagerService.java +++ b/services/java/com/android/server/dreams/DreamManagerService.java @@ -47,7 +47,7 @@ import libcore.util.Objects; * @hide */ public final class DreamManagerService extends IDreamManager.Stub { - private static final boolean DEBUG = true; + private static final boolean DEBUG = false; private static final String TAG = "DreamManagerService"; private final Object mLock = new Object(); @@ -292,7 +292,7 @@ public final class DreamManagerService extends IDreamManager.Stub { stopDreamLocked(); - Slog.i(TAG, "Entering dreamland."); + if (DEBUG) Slog.i(TAG, "Entering dreamland."); final Binder newToken = new Binder(); mCurrentDreamToken = newToken; @@ -310,7 +310,7 @@ public final class DreamManagerService extends IDreamManager.Stub { private void stopDreamLocked() { if (mCurrentDreamToken != null) { - Slog.i(TAG, "Leaving dreamland."); + if (DEBUG) Slog.i(TAG, "Leaving dreamland."); cleanupDreamLocked(); |
