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

Commit 0358395c authored by Roman Birg's avatar Roman Birg Committed by Gerrit Code Review
Browse files

SystemUI: visually disable EditTile in lock screen



It's unclear that the edit tile toggle will not be functional in the
lock screen - reflect this by disabling the tile when on the keyguard.

Ref: OPO-426

Change-Id: I9ec46402b8d63e012ca806bafa4c050fc0729ab8
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent 89232744
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ public class EditTile extends QSTile<QSTile.BooleanState> implements KeyguardMon
        final boolean showing = getHost().getKeyguardMonitor().isShowing();
        final boolean secure = getHost().getKeyguardMonitor().isSecure();
        state.visible = !showing || !secure;
        state.enabled = true;
        state.enabled = !showing;
        state.label = mContext.getString(R.string.quick_settings_edit_label);

        if (arg instanceof Boolean) {