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

Commit f0e1d6ea authored by Kevin Chyn's avatar Kevin Chyn Committed by android-build-merger
Browse files

Add setting and permission for assist gesture

am: 4fddc9fa

Change-Id: Ife2ee905017b3a7489b4a338f6ebe59301301bd0
parents 1520d813 4fddc9fa
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -6801,6 +6801,13 @@ public final class Settings {
         */
        public static final String ASSIST_GESTURE_SENSITIVITY = "assist_gesture_sensitivity";

        /**
         * Whether Assist Gesture Deferred Setup has been completed
         *
         * @hide
         */
        public static final String ASSIST_GESTURE_SETUP_COMPLETE = "assist_gesture_setup_complete";

        /**
         * Control whether Night display is currently activated.
         * @hide
+4 −0
Original line number Diff line number Diff line
@@ -1810,6 +1810,10 @@
    <permission android:name="android.permission.MANAGE_USERS"
        android:protectionLevel="signature|privileged" />

    <!-- @hide Allows an application to configure the assist gesture -->
    <permission android:name="android.permission.CONFIGURE_ASSIST_GESTURE"
        android:protectionLevel="signature" />

    <!-- @hide Allows an application to create, remove users and get the list of
         users on the device. Applications holding this permission can only create restricted,
         guest, managed, demo, and ephemeral users. For creating other kind of users,
+5 −0
Original line number Diff line number Diff line
@@ -4085,6 +4085,11 @@ message MetricsEvent {
    // Open: Settings > Search > No Result View
    SETTINGS_SEARCH_NO_RESULT = 1011;

    // OPEN: Assist Gesture before training
    // CATEGORY: SETTINGS
    // OS: O DR
    SETTINGS_ASSIST_GESTURE_FIRST_TIME = 1012;

    // Add new aosp constants above this line.
    // END OF AOSP CONSTANTS
  }