diff options
author | 2018-01-15 22:33:41 +0900 | |
---|---|---|
committer | 2018-01-19 19:50:49 +0900 | |
commit | 346dbe176ef7cc759dc7af8beaf48b5ad5a7e331 (patch) | |
tree | 1a9c83262db8512a9f7ef498cf3a182cf38ffe84 | |
parent | b984999cfcb9f600403e4730eb7bba1870c4b724 (diff) |
Add new refresh key constant.
Bug: 64149858
Bug: 64662317
Test: Builds and manual tests with Chromebook.
Change-Id: I02f890375f1a956867b04bf76f69d668fb3a7f98
-rw-r--r-- | include/android/keycodes.h | 4 | ||||
-rw-r--r-- | include/input/InputEventLabels.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/android/keycodes.h b/include/android/keycodes.h index 2164d6163e..59d67f35f2 100644 --- a/include/android/keycodes.h +++ b/include/android/keycodes.h @@ -767,7 +767,9 @@ enum { /** fingerprint navigation key, right. */ AKEYCODE_SYSTEM_NAVIGATION_RIGHT = 283, /** all apps */ - AKEYCODE_ALL_APPS = 284 + AKEYCODE_ALL_APPS = 284, + /** refresh key */ + AKEYCODE_REFRESH = 285 // NOTE: If you add a new keycode here you must also add it to several other files. // Refer to frameworks/base/core/java/android/view/KeyEvent.java for the full list. diff --git a/include/input/InputEventLabels.h b/include/input/InputEventLabels.h index c282cf0b22..4b33a96adf 100644 --- a/include/input/InputEventLabels.h +++ b/include/input/InputEventLabels.h @@ -324,6 +324,7 @@ static const InputEventLabel KEYCODES[] = { DEFINE_KEYCODE(SYSTEM_NAVIGATION_LEFT), DEFINE_KEYCODE(SYSTEM_NAVIGATION_RIGHT), DEFINE_KEYCODE(ALL_APPS), + DEFINE_KEYCODE(REFRESH), { NULL, 0 } }; |