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

Commit 2e951b55 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 22493 into eclair

* changes:
  Add resources to specify display rotation when in keyboard open or docked state.
parents e120cfd4 391305e7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -171,6 +171,9 @@ public class RawInputEvent {
    public static final int ABS_MT_BLOB_ID = 0x38;
    public static final int ABS_MAX = 0x3f;

    // Switch events
    public static final int SW_LID = 0x00;

    public static final int SYN_REPORT = 0;
    public static final int SYN_CONFIG = 1;
    public static final int SYN_MT_REPORT = 2;
+6 −0
Original line number Diff line number Diff line
@@ -57,4 +57,10 @@
        <item>"wifi,1,1"</item>
        <item>"mobile,0,1"</item>
    </string-array>

    <!-- The number of degrees to rotate the display when the keyboard is open. -->
    <integer name="config_lidOpenRotation">90</integer>

    <!-- The number of degrees to rotate the display when the device is in a dock. -->
    <integer name="config_dockedRotation">90</integer>
</resources>