Merge "Kill spurious animations when vetoing notifications." into honeycomb
This commit is contained in:
committed by
Android (Google) Code Review
commit
cb9d4d28be
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user