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

Commit 94496d57 authored by Daniel Sandler's avatar Daniel Sandler Committed by Android Git Automerger
Browse files

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

* commit 'cb5ed06a':
  Hide the expanded status bar view when not in use.
parents 91408aae cb5ed06a
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();