summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Lifu Tang <lifu@google.com> 2018-04-12 10:13:15 -0700
committer Lifu Tang <lifu@google.com> 2018-04-13 16:32:08 -0700
commit58aa11bd1f8f6492eb1cb37d74669d11f3669d35 (patch)
tree960bee0f8e176f30a13f59e0c82eff6bd7086104
parenta668c663019dcabe62d1f667ec5402806a22b0a8 (diff)
Add an action to launch scanning settings
Needs to launch scanning settings from other apps Bug: 77823544 Test: build and flash Change-Id: If02b359dcbfee79b34b6b66abb3cf36a2a3412e3
-rw-r--r--core/java/android/provider/Settings.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index 5b7adf01ec8f..6ef1234ca74f 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -142,6 +142,22 @@ public final class Settings {
"android.settings.LOCATION_SOURCE_SETTINGS";
/**
+ * Activity Action: Show scanning settings to allow configuration of Wi-Fi
+ * and Bluetooth scanning settings.
+ * <p>
+ * In some cases, a matching Activity may not exist, so ensure you
+ * safeguard against this.
+ * <p>
+ * Input: Nothing.
+ * <p>
+ * Output: Nothing.
+ * @hide
+ */
+ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
+ public static final String ACTION_LOCATION_SCANNING_SETTINGS =
+ "android.settings.LOCATION_SCANNING_SETTINGS";
+
+ /**
* Activity Action: Show settings to allow configuration of users.
* <p>
* In some cases, a matching Activity may not exist, so ensure you