summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2016-02-15 12:37:14 -0800
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-02-15 16:25:48 -0800
commit4bf3ac7c799b655583288cb21f9232d8fc93a2dd (patch)
tree817d22482aea86d04a545f6afcb80151654c497e /packages/SystemUI/src
parentae7aa13a7a424cf753e76bae8a4e43e5839aa990 (diff)
downloadframeworks_base-4bf3ac7c799b655583288cb21f9232d8fc93a2dd.zip
frameworks_base-4bf3ac7c799b655583288cb21f9232d8fc93a2dd.tar.gz
frameworks_base-4bf3ac7c799b655583288cb21f9232d8fc93a2dd.tar.bz2
SystemUI: disable QS tile Edit mode on screen off
Ref: CYNGNOS-1936 Change-Id: I08d4cf6c3613bdc8434c3cd106e6940b0c0a8005 Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'packages/SystemUI/src')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
index cfde68c..28afd3e 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
@@ -4788,6 +4788,9 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
mStackScroller.setAnimationsEnabled(false);
updateVisibleToUser();
mVisualizerView.setVisible(false);
+ if (mQSTileHost.isEditing()) {
+ mQSTileHost.setEditing(false);
+ }
if (mLaunchCameraOnFinishedGoingToSleep) {
mLaunchCameraOnFinishedGoingToSleep = false;