Skip to content

Commit e663925

Browse files
Mike CleronAndroid (Google) Code Review
authored andcommitted
Merge "Show clear all when returning from flip quick settings." into jb-mr1-dev
2 parents 90a80bb + f249efc commit e663925

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)