diff options
| author | Nick Armstrong-Crews <strongarm@google.com> | 2015-09-08 04:25:01 +0000 |
|---|---|---|
| committer | Nick Armstrong-Crews <strongarm@google.com> | 2015-09-08 04:25:01 +0000 |
| commit | b331bf951499396111cb47b477ac35e82c805322 (patch) | |
| tree | 013863aebef76afcb8fe67146a1411451d136c77 /core/java/android/view/KeyEvent.java | |
| parent | 677adf1e66ba83b8fb2c849c181303b35bd489bc (diff) | |
Revert "Handle KEYCODE_SOFT_SLEEP from Ungaze."
This reverts commit 677adf1e66ba83b8fb2c849c181303b35bd489bc.
Hiding new keycode to prevent change to public API before resubmitting.
Change-Id: Ic43273dd0c7ade1d51a36b77f363543f1df466e8
Diffstat (limited to 'core/java/android/view/KeyEvent.java')
| -rw-r--r-- | core/java/android/view/KeyEvent.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/java/android/view/KeyEvent.java b/core/java/android/view/KeyEvent.java index 2bd319c0ba80..52852e7b6e97 100644 --- a/core/java/android/view/KeyEvent.java +++ b/core/java/android/view/KeyEvent.java @@ -784,10 +784,8 @@ public class KeyEvent extends InputEvent implements Parcelable { /** Key code constant: Step backward media key. * Steps media backward, one frame at a time. */ public static final int KEYCODE_MEDIA_STEP_BACKWARD = 275; - /** Key code constant: put device to sleep unless a wakelock is held. */ - public static final int KEYCODE_SOFT_SLEEP = 276; - private static final int LAST_KEYCODE = KEYCODE_SOFT_SLEEP; + private static final int LAST_KEYCODE = KEYCODE_MEDIA_STEP_BACKWARD; // NOTE: If you add a new keycode here you must also add it to: // isSystem() |
