diff options
| author | 2019-09-05 16:53:28 +0000 | |
|---|---|---|
| committer | 2019-09-05 16:53:28 +0000 | |
| commit | b653dd0a088f3be9d0fccd3d2099b3f8ab63ca2c (patch) | |
| tree | a3796f67d19deece6118e60d2faebde9499ce083 /include/android/keycodes.h | |
| parent | 0bc2361309d705f8c7f7766f1912fd0f7035d199 (diff) | |
| parent | 9c724d78b9f2e00a7d4de3bfd2c65f6226fa8529 (diff) | |
Merge "DO NOT MERGE - Merge Android 10 into master"
Diffstat (limited to 'include/android/keycodes.h')
| -rw-r--r-- | include/android/keycodes.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/android/keycodes.h b/include/android/keycodes.h index 59d67f35f2..214559d683 100644 --- a/include/android/keycodes.h +++ b/include/android/keycodes.h @@ -769,7 +769,14 @@ enum { /** all apps */ AKEYCODE_ALL_APPS = 284, /** refresh key */ - AKEYCODE_REFRESH = 285 + AKEYCODE_REFRESH = 285, + /** Thumbs up key. Apps can use this to let user upvote content. */ + AKEYCODE_THUMBS_UP = 286, + /** Thumbs down key. Apps can use this to let user downvote content. */ + AKEYCODE_THUMBS_DOWN = 287, + /** Used to switch current account that is consuming content. + * May be consumed by system to switch current viewer profile. */ + AKEYCODE_PROFILE_SWITCH = 288 // 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. |