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

Commit 97b8aae9 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Tap gesture settings

Tap setting is similar to double tap, it will wake-up the phone
when invoked. This setting page allows for configuration since both
gestures aren't mutually exclusive.

Change-Id: Ia62a1fafcc108e3c0b14613cb30224eae7b35f6a
Fixes: 121198822
Test: make RunSettingsRoboTests
parent 3eac2faa
Loading
Loading
Loading
Loading
+0 −0

Empty file added.

+0 −0

Empty file added.

+10 −0
Original line number Diff line number Diff line
@@ -9730,6 +9730,16 @@
    <!-- Summary text for ambient display [CHAR LIMIT=NONE]-->
    <string name="ambient_display_wake_lock_screen_summary" product="default"></string>
    <!-- Preference and settings suggestion title text for ambient display tap (phone) [CHAR LIMIT=60]-->
    <string name="ambient_display_tap_screen_title" product="default">Tap to check phone</string>
    <!-- Preference and settings suggestion title text for ambient display tap (tablet) [CHAR LIMIT=60]-->
    <string name="ambient_display_tap_screen_title" product="tablet">Tap to check tablet</string>
    <!-- Preference and settings suggestion title text for ambient display tap (device) [CHAR LIMIT=60]-->
    <string name="ambient_display_tap_screen_title" product="device">Tap to check device</string>
    <!-- Summary text for ambient display tap [CHAR LIMIT=NONE]-->
    <string name="ambient_display_tap_screen_summary">To check time, notifications, and other info, tap your screen.</string>
    <!-- Title text for swiping downwards on fingerprint sensor for notifications [CHAR LIMIT=80]-->
    <string name="fingerprint_swipe_for_notifications_title">Swipe fingerprint for notifications</string>
    <!-- Title text for fingerprint gesture preference screen [CHAR LIMIT=25] -->
+6 −0
Original line number Diff line number Diff line
@@ -63,6 +63,12 @@
        android:fragment="com.android.settings.gestures.SwipeUpGestureSettings"
        settings:controller="com.android.settings.gestures.SwipeUpPreferenceController" />

    <Preference
        android:key="gesture_tap_screen_input_summary"
        android:title="@string/ambient_display_tap_screen_title"
        android:fragment="com.android.settings.gestures.TapScreenGestureSettings"
        settings:controller="com.android.settings.gestures.TapScreenGesturePreferenceController" />

    <Preference
        android:key="gesture_double_tap_screen_input_summary"
        android:title="@string/ambient_display_title"
+6 −0
Original line number Diff line number Diff line
@@ -59,6 +59,12 @@
            android:summary="@string/doze_always_on_summary"
            settings:controller="com.android.settings.display.AmbientDisplayAlwaysOnPreferenceController" />

        <Preference
            android:key="ambient_display_tap"
            android:title="@string/ambient_display_tap_screen_title"
            android:fragment="com.android.settings.gestures.TapScreenGestureSettings"
            settings:controller="com.android.settings.gestures.TapScreenGesturePreferenceController" />

        <Preference
            android:key="ambient_display_double_tap"
            android:title="@string/ambient_display_title"
Loading