summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Hai Zhang <zhanghai@google.com> 2019-03-18 15:40:32 -0700
committer Hai Zhang <zhanghai@google.com> 2019-03-19 01:25:49 -0700
commit34034de9eb83fda46c0cf4c76ad87085cef38524 (patch)
tree4e801f79c87323865d127501246d1b5e27ad8867
parent6d4ee737c274642e799e2b8cc782d5f69e71a431 (diff)
Add intent action constant to manage domain URLs.
This will be used by the new Default apps screen inside PermissionController. Bug: 124452117 Test: build Change-Id: Ia7c2eb277a77c293eba4daf3365977f3b1d2232b
-rw-r--r--api/system-current.txt1
-rw-r--r--core/java/android/provider/Settings.java13
2 files changed, 14 insertions, 0 deletions
diff --git a/api/system-current.txt b/api/system-current.txt
index 27241330f2ff..a81a8161d2cc 100644
--- a/api/system-current.txt
+++ b/api/system-current.txt
@@ -6055,6 +6055,7 @@ package android.provider {
field public static final String ACTION_ACCESSIBILITY_DETAILS_SETTINGS = "android.settings.ACCESSIBILITY_DETAILS_SETTINGS";
field public static final String ACTION_ENTERPRISE_PRIVACY_SETTINGS = "android.settings.ENTERPRISE_PRIVACY_SETTINGS";
field public static final String ACTION_LOCATION_CONTROLLER_EXTRA_PACKAGE_SETTINGS = "android.settings.LOCATION_CONTROLLER_EXTRA_PACKAGE_SETTINGS";
+ field public static final String ACTION_MANAGE_DOMAIN_URLS = "android.settings.MANAGE_DOMAIN_URLS";
field public static final String ACTION_REQUEST_ENABLE_CONTENT_CAPTURE = "android.settings.REQUEST_ENABLE_CONTENT_CAPTURE";
field public static final String ACTION_SHOW_ADMIN_SUPPORT_DETAILS = "android.settings.SHOW_ADMIN_SUPPORT_DETAILS";
}
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index 313384d668ef..dd38373989a0 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -1696,6 +1696,19 @@ public final class Settings {
public static final String ACTION_REQUEST_ENABLE_CONTENT_CAPTURE =
"android.settings.REQUEST_ENABLE_CONTENT_CAPTURE";
+ /**
+ * Activity Action: Show screen that let user manage how Android handles URL resolution.
+ * <p>
+ * Input: Nothing.
+ * <p>
+ * Output: Nothing
+ *
+ * @hide
+ */
+ @SystemApi
+ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
+ public static final String ACTION_MANAGE_DOMAIN_URLS = "android.settings.MANAGE_DOMAIN_URLS";
+
// End of Intent actions for Settings
/**