summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui
diff options
context:
space:
mode:
authorDanesh M <danesh@cyngn.com>2016-05-12 16:24:41 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-05-13 13:04:52 -0700
commitc3de534b5f13e62791899163d79521f3fa446a71 (patch)
tree06148c4fef0f3eadadd407772f0aa17046123ca2 /packages/SystemUI/src/com/android/systemui
parent59cd59971f0c41c3dcd60918580806c94ab5d754 (diff)
downloadframeworks_base-c3de534b5f13e62791899163d79521f3fa446a71.zip
frameworks_base-c3de534b5f13e62791899163d79521f3fa446a71.tar.gz
frameworks_base-c3de534b5f13e62791899163d79521f3fa446a71.tar.bz2
Lockscreen : Disable left edge after showing keyguard
CYNGNOS-2816 Change-Id: Ie2ef88765f52e099d61d250faa9ae4100726abf3
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui')
-rwxr-xr-xpackages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java9
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java3
2 files changed, 12 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
index 2c4c269..3c9f47f 100755
--- a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
+++ b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
@@ -1300,6 +1300,15 @@ public class KeyguardViewMediator extends SystemUI {
if (mStatusBar.isAffordanceSwipeInProgress()) {
return;
}
+
+ // Disable edge detector once we're back on lockscreen
+ try {
+ WindowManagerGlobal.getWindowManagerService()
+ .setLiveLockscreenEdgeDetector(false);
+ } catch (RemoteException e){
+ Log.e(TAG, e.getMessage());
+ }
+
mHandler.post(new Runnable() {
@Override
public void run() {
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
index 4b059b2f..7294420 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
@@ -1349,6 +1349,9 @@ public class NotificationPanelView extends PanelView implements
statusBarState == StatusBarState.SHADE_LOCKED) {
updateDozingVisibilities(false /* animate */);
}
+ if (statusBarState == StatusBarState.KEYGUARD) {
+ mShowingExternalKeyguard = false;
+ }
resetVerticalPanelPosition();
updateQsState();
}