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

Commit c2f05dfb authored by rbox's avatar rbox
Browse files

Fix the default value for long press on home.

In AOSP the values for this option are different than in CM.
Switch it back to the CM value for opening recent apps.

Change-Id: I0ded218659f6075aad6f178f3cd614fa10d40488
parent 69f39661
Loading
Loading
Loading
Loading
+11 −4
Original line number Original line Diff line number Diff line
@@ -626,16 +626,23 @@


    <!-- Control the behavior when the user long presses the home button.
    <!-- Control the behavior when the user long presses the home button.
            0 - Nothing
            0 - Nothing
            1 - Recent apps view in SystemUI
            1 - Menu key
            2 - Launch assist intent
            2 - Recent apps view in SystemUI
            3 - Launch assist intent
            4 - Voice Search
            5 - In-app Search
         This needs to match the constants in
         This needs to match the constants in
         policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
         policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
    -->
    -->
    <integer name="config_longPressOnHomeBehavior">1</integer>
    <integer name="config_longPressOnHomeBehavior">2</integer>


    <!-- Control the behavior when the user double-taps the home button.
    <!-- Control the behavior when the user double-taps the home button.
            0 - Nothing
            0 - Nothing
            1 - Recent apps view in SystemUI
            1 - Menu key
            2 - Recent apps view in SystemUI
            3 - Launch assist intent
            4 - Voice Search
            5 - In-app Search
         This needs to match the constants in
         This needs to match the constants in
         policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
         policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
    -->
    -->