Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 74faedca authored by Vaibhav Devmurari's avatar Vaibhav Devmurari Committed by Android (Google) Code Review
Browse files

Merge "Add new KEYCODE_RECENT_APPS and corresponding mappings"

parents f8bdc4cd 58120357
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -829,6 +829,8 @@ enum {
    AKEYCODE_STYLUS_BUTTON_TERTIARY = 310,
    /** A button on the tail end of a stylus. */
    AKEYCODE_STYLUS_BUTTON_TAIL = 311,
    /** Key to open recent apps (a.k.a. Overview) */
    AKEYCODE_RECENT_APPS = 312,

    // 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.
+2 −1
Original line number Diff line number Diff line
@@ -339,7 +339,8 @@ namespace android {
    DEFINE_KEYCODE(STYLUS_BUTTON_PRIMARY), \
    DEFINE_KEYCODE(STYLUS_BUTTON_SECONDARY), \
    DEFINE_KEYCODE(STYLUS_BUTTON_TERTIARY), \
    DEFINE_KEYCODE(STYLUS_BUTTON_TAIL)
    DEFINE_KEYCODE(STYLUS_BUTTON_TAIL), \
    DEFINE_KEYCODE(RECENT_APPS)

// NOTE: If you add a new axis here you must also add it to several other files.
//       Refer to frameworks/base/core/java/android/view/MotionEvent.java for the full list.