Skip to content

Commit f249efc

Browse files
committed
Show clear all when returning from flip quick settings.
Bug: 7367906 Change-Id: I3c6d227d223f11c60a44ceee4cdf698aa2a0acc9
1 parent 26f544a commit f249efc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,8 +1084,9 @@ protected void setAreThereNotifications() {
10841084

10851085
if (mHasFlipSettings
10861086
&& mFlipSettingsView != null
1087-
&& mFlipSettingsView.getVisibility() == View.VISIBLE) {
1088-
// the flip settings panel is showing; we should not be shown
1087+
&& mFlipSettingsView.getVisibility() == View.VISIBLE
1088+
&& mScrollView.getVisibility() != View.VISIBLE) {
1089+
// the flip settings panel is unequivocally showing; we should not be shown
10891090
mClearButton.setVisibility(View.INVISIBLE);
10901091
} else if (mClearButton.isShown()) {
10911092
if (clearable != (mClearButton.getAlpha() == 1.0f)) {

0 commit comments

Comments
 (0)