am cb9d4d28: Merge "Kill spurious animations when vetoing notifications." into honeycomb

* commit 'cb9d4d28be41c72a8c6f254bf8fdaac5f41e0b6f':
  Kill spurious animations when vetoing notifications.
This commit is contained in:
Daniel Sandler
2011-01-31 09:08:00 -08:00
committed by Android Git Automerger

View File

@@ -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);
}
}