File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/SystemUI/src/com/android/systemui/statusbar/phone Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ public void collapseAllPanels(boolean animate) {
160160 }
161161 }
162162 if (DEBUG ) LOG ("collapseAllPanels: animate=%s waiting=%s" , animate , waiting );
163- if (!waiting ) {
163+ if (!waiting && mState != STATE_CLOSED ) {
164164 // it's possible that nothing animated, so we replicate the termination
165165 // conditions of panelExpansionChanged here
166166 go (STATE_CLOSED );
Original file line number Diff line number Diff line change @@ -1269,8 +1269,8 @@ void makeExpandedInvisible() {
12691269 return ;
12701270 }
12711271
1272- // Ensure the panel is fully collapsed (just in case; bug 6765842)
1273- // @@@ mStatusBarView.collapseAllPanels(/*animate=*/ false);
1272+ // Ensure the panel is fully collapsed (just in case; bug 6765842, 7260868 )
1273+ mStatusBarView .collapseAllPanels (/*animate=*/ false );
12741274
12751275 mExpandedVisible = false ;
12761276 mPile .setLayoutTransitionsEnabled (false );
You can’t perform that action at this time.
0 commit comments