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

Commit 3a68765b authored by Holly Jiuyu Sun's avatar Holly Jiuyu Sun Committed by Android (Google) Code Review
Browse files

Merge "Update Gesture navigation page to support search." into udc-qpr-dev

parents 9369c760 f1c118bd
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -10497,6 +10497,14 @@ public final class Settings {
        public static final String ASSIST_LONG_PRESS_HOME_ENABLED =
                "assist_long_press_home_enabled";
        /**
         * Whether press and hold on nav handle can trigger search.
         *
         * @hide
         */
        public static final String SEARCH_PRESS_HOLD_NAV_HANDLE_ENABLED =
                "search_press_hold_nav_handle_enabled";
        /**
         * Control whether Trust Agents are in active unlock or extend unlock mode.
         * @hide
+1 −0
Original line number Diff line number Diff line
@@ -137,6 +137,7 @@ message SecureSettingsProto {
        optional SettingProto gesture_setup_complete = 9 [ (android.privacy).dest = DEST_AUTOMATIC ];
        optional SettingProto touch_gesture_enabled = 10 [ (android.privacy).dest = DEST_AUTOMATIC ];
        optional SettingProto long_press_home_enabled = 11 [ (android.privacy).dest = DEST_AUTOMATIC ];
        optional SettingProto search_press_hold_nav_handle_enabled = 12 [ (android.privacy).dest = DEST_AUTOMATIC ];
    }
    optional Assist assist = 7;

+3 −0
Original line number Diff line number Diff line
@@ -6085,6 +6085,9 @@
    <!-- Default value for Settings.ASSIST_TOUCH_GESTURE_ENABLED -->
    <bool name="config_assistTouchGestureEnabledDefault">true</bool>

    <!-- Default value for Settings.SEARCH_PRESS_HOLD_NAV_HANDLE_ENABLED -->
    <bool name="config_searchPressHoldNavHandleEnabledDefault">true</bool>

    <!-- The maximum byte size of the information contained in the bundle of
    HotwordDetectedResult. -->
    <integer translatable="false" name="config_hotwordDetectedResultMaxBundleSize">0</integer>
+2 −0
Original line number Diff line number Diff line
@@ -4864,6 +4864,8 @@
  <java-symbol type="bool" name="config_assistLongPressHomeEnabledDefault" />
  <java-symbol type="bool" name="config_assistTouchGestureEnabledDefault" />

  <java-symbol type="bool" name="config_searchPressHoldNavHandleEnabledDefault" />

  <java-symbol type="integer" name="config_hotwordDetectedResultMaxBundleSize" />

  <java-symbol type="dimen" name="config_wallpaperDimAmount" />
+2 −1
Original line number Diff line number Diff line
@@ -240,6 +240,7 @@ public class SecureSettings {
        Settings.Secure.HEARING_AID_CALL_ROUTING,
        Settings.Secure.HEARING_AID_MEDIA_ROUTING,
        Settings.Secure.HEARING_AID_SYSTEM_SOUNDS_ROUTING,
        Settings.Secure.ACCESSIBILITY_FONT_SCALING_HAS_BEEN_CHANGED
        Settings.Secure.ACCESSIBILITY_FONT_SCALING_HAS_BEEN_CHANGED,
        Settings.Secure.SEARCH_PRESS_HOLD_NAV_HANDLE_ENABLED
    };
}
Loading