File tree Expand file tree Collapse file tree
packages/SystemUI/src/com/android/systemui/statusbar/phone Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1625,9 +1625,9 @@ boolean panelsEnabled() {
16251625 return (mDisabled & StatusBarManager .DISABLE_EXPAND ) == 0 ;
16261626 }
16271627
1628- void makeExpandedVisible () {
1628+ void makeExpandedVisible (boolean force ) {
16291629 if (SPEW ) Log .d (TAG , "Make expanded visible: expanded visible=" + mExpandedVisible );
1630- if (mExpandedVisible || !panelsEnabled ()) {
1630+ if (! force && ( mExpandedVisible || !panelsEnabled () )) {
16311631 return ;
16321632 }
16331633
@@ -3009,8 +3009,9 @@ private void showBouncer() {
30093009
30103010 private void instantExpandNotificationsPanel () {
30113011
3012- // Make our window larger.
3013- mStatusBarWindowManager .setStatusBarExpanded (true );
3012+ // Make our window larger and the panel visible.
3013+ makeExpandedVisible (true );
3014+ mNotificationPanel .setVisibility (View .VISIBLE );
30143015
30153016 // Wait for window manager to pickup the change, so we know the maximum height of the panel
30163017 // then.
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ public PanelView selectPanelForTouch(MotionEvent touch) {
106106 @ Override
107107 public void onPanelPeeked () {
108108 super .onPanelPeeked ();
109- mBar .makeExpandedVisible ();
109+ mBar .makeExpandedVisible (false );
110110 }
111111
112112 @ Override
You can’t perform that action at this time.
0 commit comments