diff options
author | Danesh M <daneshm90@gmail.com> | 2016-03-28 15:04:29 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-04-01 12:51:54 -0700 |
commit | 9a8df5bc8488c19dc0a1951cad44956894a75a09 (patch) | |
tree | 8a2de2c0b8d4337f4b3d4c664ccdca2f1d0fc22f /core | |
parent | 16a065df515225bf4da78df7ccea63ca860b2b20 (diff) | |
download | frameworks_base-9a8df5bc8488c19dc0a1951cad44956894a75a09.zip frameworks_base-9a8df5bc8488c19dc0a1951cad44956894a75a09.tar.gz frameworks_base-9a8df5bc8488c19dc0a1951cad44956894a75a09.tar.bz2 |
Implement left swipe on lockscreen
Allows user to left swipe to live lockscreen and back.
Change-Id: Ia94d735695b77a091a240e13858641cf95ac0647
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/view/IWindowManager.aidl | 2 | ||||
-rw-r--r-- | core/java/android/view/WindowManagerPolicy.java | 2 | ||||
-rw-r--r-- | core/java/com/android/internal/policy/IKeyguardService.aidl | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/core/java/android/view/IWindowManager.aidl b/core/java/android/view/IWindowManager.aidl index 55735c7..b3f4046 100644 --- a/core/java/android/view/IWindowManager.aidl +++ b/core/java/android/view/IWindowManager.aidl @@ -287,4 +287,6 @@ interface IWindowManager * @return The frame statistics or null if the window does not exist. */ WindowContentFrameStats getWindowContentFrameStats(IBinder token); + + void setLiveLockscreenEdgeDetector(boolean enable); } diff --git a/core/java/android/view/WindowManagerPolicy.java b/core/java/android/view/WindowManagerPolicy.java index a962f2a..c1d0ecb 100644 --- a/core/java/android/view/WindowManagerPolicy.java +++ b/core/java/android/view/WindowManagerPolicy.java @@ -1320,4 +1320,6 @@ public interface WindowManagerPolicy { * @param fadeoutDuration the duration of the exit animation, in milliseconds */ public void startKeyguardExitAnimation(long startTime, long fadeoutDuration); + + public void setLiveLockscreenEdgeDetector(boolean enable); } diff --git a/core/java/com/android/internal/policy/IKeyguardService.aidl b/core/java/com/android/internal/policy/IKeyguardService.aidl index e330de2..6f47f70 100644 --- a/core/java/com/android/internal/policy/IKeyguardService.aidl +++ b/core/java/com/android/internal/policy/IKeyguardService.aidl @@ -94,4 +94,5 @@ oneway interface IKeyguardService { * to start the keyguard dismiss sequence. */ void onActivityDrawn(); + void showKeyguard(); } |