diff options
author | Roman Birg <roman@cyngn.com> | 2016-02-03 14:14:30 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-02-03 19:15:43 -0800 |
commit | 0358395ced901abd2a60745bbe2053765246ac76 (patch) | |
tree | 91d2827691fe9e9f5590f59ac63db85069e818ac /packages/SystemUI/src | |
parent | 892327444c436b3e7fc91581ba357d9b61cadd0d (diff) | |
download | frameworks_base-0358395ced901abd2a60745bbe2053765246ac76.zip frameworks_base-0358395ced901abd2a60745bbe2053765246ac76.tar.gz frameworks_base-0358395ced901abd2a60745bbe2053765246ac76.tar.bz2 |
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: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'packages/SystemUI/src')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/qs/tiles/EditTile.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/tiles/EditTile.java b/packages/SystemUI/src/com/android/systemui/qs/tiles/EditTile.java index 7c9b762..7173786 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/tiles/EditTile.java +++ b/packages/SystemUI/src/com/android/systemui/qs/tiles/EditTile.java @@ -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) { |