Merge "hide the redundant clock when the notification shade is open." into jb-mr1-dev

This commit is contained in:
Chris Wren
2012-10-04 06:37:10 -07:00
committed by Android (Google) Code Review

View File

@@ -339,7 +339,9 @@ public class PhoneStatusBar extends BaseStatusBar {
mNotificationPanelIsFullScreenWidth =
(mNotificationPanel.getLayoutParams().width == ViewGroup.LayoutParams.MATCH_PARENT);
mNotificationPanel.setSystemUiVisibility(
View.STATUS_BAR_DISABLE_NOTIFICATION_TICKER | View.STATUS_BAR_DISABLE_NOTIFICATION_ICONS);
View.STATUS_BAR_DISABLE_NOTIFICATION_TICKER |
View.STATUS_BAR_DISABLE_NOTIFICATION_ICONS |
View.STATUS_BAR_DISABLE_CLOCK);
if (!ActivityManager.isHighEndGfx()) {
mStatusBarWindow.setBackground(null);