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

Commit a1d40e47 authored by Daniel Sandler's avatar Daniel Sandler Committed by Android (Google) Code Review
Browse files

Merge "Remove an unnecessary animation." into jb-dev

parents c07dc743 66d92f81
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -171,6 +171,7 @@ public class PhoneStatusBar extends BaseStatusBar {
    final Rect mNotificationPanelBackgroundPadding = new Rect();
    int mNotificationPanelGravity;
    int mNotificationPanelMinHeight;
    boolean mNotificationPanelIsFullScreenWidth;

    // top bar
    View mClearButton;
@@ -361,9 +362,11 @@ public class PhoneStatusBar extends BaseStatusBar {
                return true;
            }
        });
        mNotificationPanelIsFullScreenWidth =
            (mNotificationPanel.getLayoutParams().width == ViewGroup.LayoutParams.MATCH_PARENT);
        mNotificationPanel.setSystemUiVisibility(
                  View.STATUS_BAR_DISABLE_NOTIFICATION_TICKER
                | View.STATUS_BAR_DISABLE_SYSTEM_INFO);
                | (mNotificationPanelIsFullScreenWidth ? 0 : View.STATUS_BAR_DISABLE_SYSTEM_INFO));

        if (!ActivityManager.isHighEndGfx(mDisplay)) {
            mStatusBarWindow.setBackground(null);