diff options
author | Daniel Sandler <dsandler@android.com> | 2011-08-11 00:27:45 -0400 |
---|---|---|
committer | Daniel Sandler <dsandler@android.com> | 2011-08-11 00:27:45 -0400 |
commit | 8355e932a033398625eef676ac93aec0cb084efe (patch) | |
tree | ffc58b6b2f9f455582fe9e77184a3681c447167e /packages/SystemUI | |
parent | f159586471fa2626fbfbab314b7331db14e24dc0 (diff) | |
download | frameworks_base-8355e932a033398625eef676ac93aec0cb084efe.zip frameworks_base-8355e932a033398625eef676ac93aec0cb084efe.tar.gz frameworks_base-8355e932a033398625eef676ac93aec0cb084efe.tar.bz2 |
Remove logspew.
Bug: 5118028
Change-Id: I5517d79624020aa7ceeabf251581b3baf2f7b080
Diffstat (limited to 'packages/SystemUI')
-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 ec7be15..6e84b3f 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -551,7 +551,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) { @@ -581,8 +583,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) { |