Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85db803e authored by Chris Wren's avatar Chris Wren
Browse files

hide the redundant clock when the notification shade is open.

Bug: 7204705
Change-Id: I88ef58938c5e96c4828dbda5d93f9874535b212f
parent daab6af9
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -314,7 +314,9 @@ public class PhoneStatusBar extends BaseStatusBar {
        mNotificationPanelIsFullScreenWidth =
        mNotificationPanelIsFullScreenWidth =
            (mNotificationPanel.getLayoutParams().width == ViewGroup.LayoutParams.MATCH_PARENT);
            (mNotificationPanel.getLayoutParams().width == ViewGroup.LayoutParams.MATCH_PARENT);
        mNotificationPanel.setSystemUiVisibility(
        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()) {
        if (!ActivityManager.isHighEndGfx()) {
            mStatusBarWindow.setBackground(null);
            mStatusBarWindow.setBackground(null);