From 85db803e7c6baf3b596bf366f71d3bcd08879fc4 Mon Sep 17 00:00:00 2001 From: Chris Wren Date: Wed, 3 Oct 2012 17:03:15 -0400 Subject: [PATCH] hide the redundant clock when the notification shade is open. Bug: 7204705 Change-Id: I88ef58938c5e96c4828dbda5d93f9874535b212f --- .../com/android/systemui/statusbar/phone/PhoneStatusBar.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java index 12e749dc5ba0c..ea3727f24b014 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -314,7 +314,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);