Change ACTION_APP_OPEN_BY_DEFAULT_SETTINGS to standard format

This was originally introduced as an @hide API, but was exposed as part
of changes to app links. The old constant value was maintained, but it
can be migrated to the standard format and Settings can just catch
both.

Bug: 184370492

Test: manual, test app that launches using action

Change-Id: I904bd816da6c20a1dfdb207f8d4d486bb7be5cd5
This commit is contained in:
Winson
2021-04-02 12:45:48 -07:00
parent a9bb9e1b53
commit 0bcdb9897c
2 changed files with 2 additions and 3 deletions

View File

@@ -35049,7 +35049,7 @@ package android.provider {
field public static final String ACTION_APPLICATION_SETTINGS = "android.settings.APPLICATION_SETTINGS";
field public static final String ACTION_APP_NOTIFICATION_BUBBLE_SETTINGS = "android.settings.APP_NOTIFICATION_BUBBLE_SETTINGS";
field public static final String ACTION_APP_NOTIFICATION_SETTINGS = "android.settings.APP_NOTIFICATION_SETTINGS";
field public static final String ACTION_APP_OPEN_BY_DEFAULT_SETTINGS = "com.android.settings.APP_OPEN_BY_DEFAULT_SETTINGS";
field public static final String ACTION_APP_OPEN_BY_DEFAULT_SETTINGS = "android.settings.APP_OPEN_BY_DEFAULT_SETTINGS";
field public static final String ACTION_APP_SEARCH_SETTINGS = "android.settings.APP_SEARCH_SETTINGS";
field public static final String ACTION_APP_USAGE_SETTINGS = "android.settings.action.APP_USAGE_SETTINGS";
field public static final String ACTION_AUTO_ROTATE_SETTINGS = "android.settings.AUTO_ROTATE_SETTINGS";

View File

@@ -471,10 +471,9 @@ public final class Settings {
* <p>
* Output: Nothing.
*/
@SuppressLint("ActionValue")
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String ACTION_APP_OPEN_BY_DEFAULT_SETTINGS =
"com.android.settings.APP_OPEN_BY_DEFAULT_SETTINGS";
"android.settings.APP_OPEN_BY_DEFAULT_SETTINGS";
/**
* Activity Action: Show trusted credentials settings, opening to the user tab,