[Panlingual] Expose action to SDK constant for app's locale picker.

Bug: 210797799
Test: make
Test: local functional test
Change-Id: I01eaeb35951c6a8e88e61d511163738d89d37bd5
This commit is contained in:
tom hsu
2021-12-15 15:40:52 +08:00
parent e30047b059
commit 51839ed228
2 changed files with 14 additions and 0 deletions

View File

@@ -35765,6 +35765,7 @@ package android.provider {
field public static final String ACTION_APPLICATION_DETAILS_SETTINGS = "android.settings.APPLICATION_DETAILS_SETTINGS";
field public static final String ACTION_APPLICATION_DEVELOPMENT_SETTINGS = "android.settings.APPLICATION_DEVELOPMENT_SETTINGS";
field public static final String ACTION_APPLICATION_SETTINGS = "android.settings.APPLICATION_SETTINGS";
field public static final String ACTION_APP_LOCALE_SETTINGS = "android.settings.APP_LOCALE_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 = "android.settings.APP_OPEN_BY_DEFAULT_SETTINGS";

View File

@@ -949,6 +949,19 @@ public final class Settings {
public static final String ACTION_LOCALE_SETTINGS =
"android.settings.LOCALE_SETTINGS";
/**
* Activity Action: Show settings to allow configuration of per application locale.
* <p>
* Input: The Intent's data URI can specify the application package name to directly invoke the
* app locale details GUI specific to the package name.
* For example "package:com.my.app".
* <p>
* Output: Nothing.
*/
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String ACTION_APP_LOCALE_SETTINGS =
"android.settings.APP_LOCALE_SETTINGS";
/**
* Activity Action: Show settings to allow configuration of lockscreen.
* <p>