diff options
| author | Yuichiro Hanada <yhanada@google.com> | 2018-01-15 22:36:00 +0900 |
|---|---|---|
| committer | Yuichiro Hanada <yhanada@google.com> | 2018-01-24 09:11:49 +0900 |
| commit | c1415f3e3c20fd40222d451d0efbc190992c83a0 (patch) | |
| tree | fec6befa7bf2673549901a253801c2905b79bb37 /core/java/android/view/KeyEvent.java | |
| parent | b62afd21699890d6229a02305f6ee9520bd29748 (diff) | |
Add new refresh key constant.
Bug: 64149858
Bug: 64662317
Test: Builds and manual tests with Chromebook.
Change-Id: I865d657ee7d78b5e45f642e786d26a65a14f49e1
Diffstat (limited to 'core/java/android/view/KeyEvent.java')
| -rw-r--r-- | core/java/android/view/KeyEvent.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/view/KeyEvent.java b/core/java/android/view/KeyEvent.java index ed2b8b61fe01..a59740563ceb 100644 --- a/core/java/android/view/KeyEvent.java +++ b/core/java/android/view/KeyEvent.java @@ -806,8 +806,10 @@ public class KeyEvent extends InputEvent implements Parcelable { public static final int KEYCODE_SYSTEM_NAVIGATION_RIGHT = 283; /** Key code constant: Show all apps */ public static final int KEYCODE_ALL_APPS = 284; + /** Key code constant: Refresh key. */ + public static final int KEYCODE_REFRESH = 285; - private static final int LAST_KEYCODE = KEYCODE_ALL_APPS; + private static final int LAST_KEYCODE = KEYCODE_REFRESH; // NOTE: If you add a new keycode here you must also add it to: // isSystem() |
