diff options
| author | 2011-01-30 21:26:24 -0500 | |
|---|---|---|
| committer | 2011-01-30 21:26:24 -0500 | |
| commit | 2c83180e70155a9c56796bc01ff345e35dc94ff8 (patch) | |
| tree | 9029d0a78e923e4c5edc2d85d93143b82e73a65c | |
| parent | 71a22b3bc7cb4a721378ef38d43bce94f5b0e5bd (diff) | |
Kill spurious animations when vetoing notifications.
Bug: 3406032
Change-Id: I6da6ee064d309bc44f6304722c5f3f4e05aaf687
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/tablet/NotificationPanel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/NotificationPanel.java b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/NotificationPanel.java index 22fed63a0394..2ec2af0cf525 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/NotificationPanel.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/NotificationPanel.java @@ -170,7 +170,7 @@ public class NotificationPanel extends RelativeLayout implements StatusBarPanel, setContentFrameVisible(n > 0, false); } else if (mSettingsView == null) { // we're looking at the notifications; time to maybe make some changes - if (mNotificationCount != n) { + if ((mNotificationCount > 0) != (n > 0)) { setContentFrameVisible(n > 0, true); } } |