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

Commit 37953131 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "QS: Make edit non-clickable when collapsed" into nyc-mr1-dev

parents 48c5660c 104d9de3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -271,7 +271,7 @@ public class QuickStatusBarHeader extends BaseStatusBarHeader implements
        final boolean isDemo = UserManager.isDeviceInDemoMode(mContext);
        mMultiUserSwitch.setVisibility(mExpanded && mMultiUserSwitch.hasMultipleUsers() && !isDemo
                ? View.VISIBLE : View.INVISIBLE);
        mEdit.setVisibility(isDemo ? View.INVISIBLE : View.VISIBLE);
        mEdit.setVisibility(isDemo || !mExpanded ? View.INVISIBLE : View.VISIBLE);
    }

    private void updateListeners() {