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

Commit c1415f3e authored by Yuichiro Hanada's avatar Yuichiro Hanada
Browse files

Add new refresh key constant.

Bug: 64149858
Bug: 64662317
Test: Builds and manual tests with Chromebook.

Change-Id: I865d657ee7d78b5e45f642e786d26a65a14f49e1
parent b62afd21
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -45743,6 +45743,7 @@ package android.view {
    field public static final int KEYCODE_PROG_YELLOW = 185; // 0xb9
    field public static final int KEYCODE_Q = 45; // 0x2d
    field public static final int KEYCODE_R = 46; // 0x2e
    field public static final int KEYCODE_REFRESH = 285; // 0x11d
    field public static final int KEYCODE_RIGHT_BRACKET = 72; // 0x48
    field public static final int KEYCODE_RO = 217; // 0xd9
    field public static final int KEYCODE_S = 47; // 0x2f
+3 −1
Original line number Diff line number Diff line
@@ -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()
+1 −0
Original line number Diff line number Diff line
@@ -1897,6 +1897,7 @@
        <enum name="KEYCODE_SYSTEM_NAVIGATION_LEFT" value="282" />
        <enum name="KEYCODE_SYSTEM_NAVIGATION_RIGHT" value="283" />
        <enum name="KEYCODE_ALL_APPS" value="284" />
        <enum name="KEYCODE_REFRESH" value="285" />
    </attr>

    <!-- ***************************************************************** -->
+1 −1
Original line number Diff line number Diff line
@@ -192,7 +192,7 @@ key 169 CALL
# key 170 "KEY_ISO"
key 171   MUSIC
key 172   HOME
# key 173 "KEY_REFRESH"
key 173   REFRESH
# key 174 "KEY_EXIT"
# key 175 "KEY_MOVE"
# key 176 "KEY_EDIT"