diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 8bd3847c42f29..b9aad113c6777 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -782,6 +782,21 @@ public final class Settings { public static final String ACTION_APPLICATION_DETAILS_SETTINGS = "android.settings.APPLICATION_DETAILS_SETTINGS"; + /** + * Activity Action: Show the "Open by Default" page in a particular application's details page. + *
+ * In some cases, a matching Activity may not exist, so ensure you safeguard against this. + *
+ * Input: The Intent's data URI specifies the application package name + * to be shown, with the "package" scheme. That is "package:com.my.app". + *
+ * Output: Nothing.
+ * @hide
+ */
+ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
+ public static final String ACTION_APPLICATION_DETAILS_SETTINGS_OPEN_BY_DEFAULT_PAGE =
+ "android.settings.APPLICATION_DETAILS_SETTINGS_OPEN_BY_DEFAULT_PAGE";
+
/**
* Activity Action: Show list of applications that have been running
* foreground services (to the user "running in the background").
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index 036cfe307abae..1b4d571d3f4c4 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -3886,6 +3886,12 @@