Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f249efcf authored by Daniel Sandler's avatar Daniel Sandler
Browse files

Show clear all when returning from flip quick settings.

Bug: 7367906
Change-Id: I3c6d227d223f11c60a44ceee4cdf698aa2a0acc9
parent 26f544ae
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -1084,8 +1084,9 @@ public class PhoneStatusBar extends BaseStatusBar {


        if (mHasFlipSettings 
        if (mHasFlipSettings 
                && mFlipSettingsView != null 
                && mFlipSettingsView != null 
                && mFlipSettingsView.getVisibility() == View.VISIBLE) {
                && mFlipSettingsView.getVisibility() == View.VISIBLE
            // the flip settings panel is showing; we should not be shown
                && mScrollView.getVisibility() != View.VISIBLE) {
            // the flip settings panel is unequivocally showing; we should not be shown
            mClearButton.setVisibility(View.INVISIBLE);
            mClearButton.setVisibility(View.INVISIBLE);
        } else if (mClearButton.isShown()) {
        } else if (mClearButton.isShown()) {
            if (clearable != (mClearButton.getAlpha() == 1.0f)) {
            if (clearable != (mClearButton.getAlpha() == 1.0f)) {