diff options
author | Daniel Sandler <dsandler@android.com> | 2011-08-11 05:17:14 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-08-11 05:17:14 -0700 |
commit | 5e3f4000a98eb494e3c896de7af97b1b85bbad42 (patch) | |
tree | f426666ee188fb11d57639a6b99043551297a7ad /packages | |
parent | 6140ef1b1b5417bdb3d3e437ba60dc36a75811b0 (diff) | |
parent | 8355e932a033398625eef676ac93aec0cb084efe (diff) | |
download | frameworks_base-5e3f4000a98eb494e3c896de7af97b1b85bbad42.zip frameworks_base-5e3f4000a98eb494e3c896de7af97b1b85bbad42.tar.gz frameworks_base-5e3f4000a98eb494e3c896de7af97b1b85bbad42.tar.bz2 |
Merge "Remove logspew."
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java index ba1de7c..a54c5c2 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -557,7 +557,9 @@ public class PhoneStatusBar extends StatusBar { boolean immersive = false; try { immersive = ActivityManagerNative.getDefault().isTopActivityImmersive(); - Slog.d(TAG, "Top activity is " + (immersive?"immersive":"not immersive")); + if (DEBUG) { + Slog.d(TAG, "Top activity is " + (immersive?"immersive":"not immersive")); + } } catch (RemoteException ex) { } if (immersive) { @@ -587,8 +589,7 @@ public class PhoneStatusBar extends StatusBar { } } else if (notification.notification.fullScreenIntent != null) { // not immersive & a full-screen alert should be shown - Slog.d(TAG, "Notification has fullScreenIntent and activity is not immersive;" - + " sending fullScreenIntent"); + Slog.d(TAG, "Notification has fullScreenIntent; sending fullScreenIntent"); try { notification.notification.fullScreenIntent.send(); } catch (PendingIntent.CanceledException e) { |