Merge "Kill spurious animations when vetoing notifications." into honeycomb

This commit is contained in:
Daniel Sandler
2011-01-31 09:04:32 -08:00
committed by Android (Google) Code Review

View File

@@ -170,7 +170,7 @@ public class NotificationPanel extends RelativeLayout implements StatusBarPanel,
setContentFrameVisible(n > 0, false); setContentFrameVisible(n > 0, false);
} else if (mSettingsView == null) { } else if (mSettingsView == null) {
// we're looking at the notifications; time to maybe make some changes // we're looking at the notifications; time to maybe make some changes
if (mNotificationCount != n) { if ((mNotificationCount > 0) != (n > 0)) {
setContentFrameVisible(n > 0, true); setContentFrameVisible(n > 0, true);
} }
} }