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

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

Merge "Hide the expanded status bar view when not in use." into jb-dev

parents 308904dc 3ac558b6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@
        android:layout_width="@dimen/notification_panel_width"
        android:layout_height="match_parent"
        android:layout_gravity="center_horizontal|top"
        android:visibility="invisible"
        />

</com.android.systemui.statusbar.phone.StatusBarWindowView>
+1 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@
    <include layout="@layout/status_bar_expanded"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:visibility="invisible"
        />

</com.android.systemui.statusbar.phone.StatusBarWindowView>
+2 −1
Original line number Diff line number Diff line
@@ -996,6 +996,7 @@ public class PhoneStatusBar extends BaseStatusBar {
        }
        
        mExpandedVisible = true;
        mNotificationPanel.setVisibility(View.VISIBLE);

        updateExpandedViewPos(EXPANDED_LEAVE_ALONE);

@@ -1089,7 +1090,7 @@ public class PhoneStatusBar extends BaseStatusBar {
        }
        mExpandedVisible = false;
        visibilityChanged(false);
        //mNotificationPanel.setVisibility(View.GONE);
        mNotificationPanel.setVisibility(View.INVISIBLE);

        // Shrink the window to the size of the status bar only
        WindowManager.LayoutParams lp = (WindowManager.LayoutParams) mStatusBarWindow.getLayoutParams();