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

Commit 52d096f7 authored by xkonni's avatar xkonni Committed by Ricardo Cerqueira
Browse files

Enable custom actions for double-tap home (1/2)

Change-Id: I041e7ab3853b356ddbdab2524f096546319276f9
parent 09982bbb
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -3196,6 +3196,13 @@ public final class Settings {
          */
         public static final String KEY_HOME_LONG_PRESS_ACTION = "key_home_long_press_action";

         /**
          * Action to perform when the home key is double-tapped. (Default is 0)
          * (See KEY_HOME_LONG_PRESS_ACTION for valid values)
          * @hide
          */
         public static final String KEY_HOME_DOUBLE_TAP_ACTION = "key_home_double_tap_action";

         /**
          * Action to perform when the menu key is pressed. (Default is 1)
          * (See KEY_HOME_LONG_PRESS_ACTION for valid values)
+3 −0
Original line number Diff line number Diff line
@@ -26,4 +26,7 @@
    <!-- see comment in values/config.xml -->
    <integer name="config_longPressOnHomeBehavior">0</integer>

    <!-- see comment in values/config.xml -->
    <integer name="config_doubleTapOnHomeBehavior">0</integer>

</resources>
+4 −1
Original line number Diff line number Diff line
@@ -26,6 +26,9 @@
    <!-- see comment in values/config.xml -->
    <integer name="config_longPressOnHomeBehavior">0</integer>

    <!-- see comment in values/config.xml -->
    <integer name="config_doubleTapOnHomeBehavior">0</integer>

    <!-- see comment in values/config.xml -->
    <dimen name="config_prefDialogWidth">580dp</dimen>