diff options
| author | Fan Zhang <zhfan@google.com> | 2018-09-04 11:30:00 -0700 |
|---|---|---|
| committer | Fan Zhang <zhfan@google.com> | 2018-10-02 13:17:21 -0700 |
| commit | c8c5c2a5d1986ef631b971deb3a5ce69db718b34 (patch) | |
| tree | 86f92638fb8bc6e99bcf1883558323a6d36328b5 /core/java/android | |
| parent | c8422db007908a52d2be8ea598e6e6b5eeefbed6 (diff) | |
Add intent action constant for launching Settings search UI
This is needed by system apps other than Settings, such as
PackageInstaller/PermissionController
Bug: 113128828
Test: CTS
Change-Id: I97cc9f90bb0978ce50ba0c10fcdd1b984028577c
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/provider/Settings.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 1d3cf19e18f0..74b6af02e892 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -497,6 +497,16 @@ public final class Settings { "android.settings.BLUETOOTH_SETTINGS"; /** + * Activity action: Show Settings app search UI when this action is available for device. + * <p> + * Input: Nothing. + * <p> + * Output: Nothing. + */ + @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) + public static final String ACTION_APP_SEARCH_SETTINGS = "android.settings.APP_SEARCH_SETTINGS"; + + /** * Activity Action: Show settings to allow configuration of Assist Gesture. * <p> * In some cases, a matching Activity may not exist, so ensure you |
