diff options
| author | Jorim Jaggi <jjaggi@google.com> | 2016-04-06 21:56:53 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2016-04-06 21:56:55 +0000 |
| commit | 347bb9a3cf53595b8beed17574cec9c0072aa819 (patch) | |
| tree | dd7ff28e22ea6882ddb53c493c35a8e88bef82fd /core/java | |
| parent | 50e229f1f45a1550ba13ec3f81e864630fc3dc1c (diff) | |
| parent | f1cdf9558d2b7f8fe5b8cf3d309b48809f04403b (diff) | |
Merge "Don't lock device when double tapping" into nyc-dev
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/com/android/internal/policy/IKeyguardService.aidl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/core/java/com/android/internal/policy/IKeyguardService.aidl b/core/java/com/android/internal/policy/IKeyguardService.aidl index e330de24f6d6..171a264eea8b 100644 --- a/core/java/com/android/internal/policy/IKeyguardService.aidl +++ b/core/java/com/android/internal/policy/IKeyguardService.aidl @@ -50,9 +50,12 @@ oneway interface IKeyguardService { * Called when the device has finished going to sleep. * * @param why {@link #OFF_BECAUSE_OF_USER}, {@link #OFF_BECAUSE_OF_ADMIN}, - * or {@link #OFF_BECAUSE_OF_TIMEOUT}. + * or {@link #OFF_BECAUSE_OF_TIMEOUT}. + * @param cameraGestureTriggered whether the camera gesture was triggered between + * {@link #onStartedGoingToSleep} and this method; if it's been + * triggered, we shouldn't lock the device. */ - void onFinishedGoingToSleep(int reason); + void onFinishedGoingToSleep(int reason, boolean cameraGestureTriggered); /** * Called when the device has started waking up. |
