Skip to content

Commit 48c9b6a

Browse files
Mike CleronAndroid Git Automerger
authored andcommitted
am e663925: Merge "Show clear all when returning from flip quick settings." into jb-mr1-dev
* commit 'e663925f855ab4390a0e0bd3c9713ca948076ec1': Show clear all when returning from flip quick settings.
2 parents 16c156f + e663925 commit 48c9b6a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

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)