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

Commit dc6aa5fc authored by Nick Armstrong-Crews's avatar Nick Armstrong-Crews Committed by Android Git Automerger
Browse files

am d70377b5: am 36afc2b7: am 9b8f82a3: Merge "Revert "Handle...

am d70377b5: am 36afc2b7: am 9b8f82a3: Merge "Revert "Handle KEYCODE_SOFT_SLEEP from Ungaze."" into cw-e-dev

* commit 'd70377b5':
  Revert "Handle KEYCODE_SOFT_SLEEP from Ungaze."
parents 1fb5edd7 d70377b5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -35370,7 +35370,6 @@ package android.view {
    field public static final int KEYCODE_SLEEP = 223; // 0xdf
    field public static final int KEYCODE_SOFT_LEFT = 1; // 0x1
    field public static final int KEYCODE_SOFT_RIGHT = 2; // 0x2
    field public static final int KEYCODE_SOFT_SLEEP = 276; // 0x114
    field public static final int KEYCODE_SPACE = 62; // 0x3e
    field public static final int KEYCODE_STAR = 17; // 0x11
    field public static final int KEYCODE_STB_INPUT = 180; // 0xb4
+0 −1
Original line number Diff line number Diff line
@@ -37664,7 +37664,6 @@ package android.view {
    field public static final int KEYCODE_SLEEP = 223; // 0xdf
    field public static final int KEYCODE_SOFT_LEFT = 1; // 0x1
    field public static final int KEYCODE_SOFT_RIGHT = 2; // 0x2
    field public static final int KEYCODE_SOFT_SLEEP = 276; // 0x114
    field public static final int KEYCODE_SPACE = 62; // 0x3e
    field public static final int KEYCODE_STAR = 17; // 0x11
    field public static final int KEYCODE_STB_INPUT = 180; // 0xb4
+0 −6
Original line number Diff line number Diff line
@@ -107,12 +107,6 @@ public abstract class PowerManagerInternal {
     */
    public abstract void setUserActivityTimeoutOverrideFromWindowManager(long timeoutMillis);

    /**
     * Used by the window manager to tell the power manager that the user is no longer actively
     * using the device.
     */
    public abstract void setUserInactiveOverrideFromWindowManager();

    /**
     * Used by device administration to set the maximum screen off timeout.
     *
+1 −3
Original line number Diff line number Diff line
@@ -788,10 +788,8 @@ public class KeyEvent extends InputEvent implements Parcelable {
    /** Key code constant: Step backward media key.
     * Steps media backward, one frame at a time. */
    public static final int KEYCODE_MEDIA_STEP_BACKWARD = 275;
    /** Key code constant: put device to sleep unless a wakelock is held. */
    public static final int KEYCODE_SOFT_SLEEP = 276;

    private static final int LAST_KEYCODE = KEYCODE_SOFT_SLEEP;
    private static final int LAST_KEYCODE = KEYCODE_MEDIA_STEP_BACKWARD;

    // NOTE: If you add a new keycode here you must also add it to:
    //  isSystem()
+0 −1
Original line number Diff line number Diff line
@@ -1820,7 +1820,6 @@ i
        <enum name="KEYCODE_MEDIA_SKIP_BACKWARD" value="273" />
        <enum name="KEYCODE_MEDIA_STEP_FORWARD" value="274" />
        <enum name="KEYCODE_MEDIA_STEP_BACKWARD" value="275" />
        <enum name="KEYCODE_SOFT_SLEEP" value="276" />
    </attr>

    <!-- ***************************************************************** -->
Loading