Merge "Add AOSP intent for Work Policy Info"

This commit is contained in:
Ivan Podogov
2019-10-29 12:37:07 +00:00
committed by Android (Google) Code Review
2 changed files with 15 additions and 0 deletions

View File

@@ -38919,6 +38919,7 @@ package android.provider {
field public static final String ACTION_SECURITY_SETTINGS = "android.settings.SECURITY_SETTINGS";
field public static final String ACTION_SETTINGS = "android.settings.SETTINGS";
field public static final String ACTION_SHOW_REGULATORY_INFO = "android.settings.SHOW_REGULATORY_INFO";
field public static final String ACTION_SHOW_WORK_POLICY_INFO = "android.settings.SHOW_WORK_POLICY_INFO";
field public static final String ACTION_SOUND_SETTINGS = "android.settings.SOUND_SETTINGS";
field @Deprecated public static final String ACTION_STORAGE_VOLUME_ACCESS_SETTINGS = "android.settings.STORAGE_VOLUME_ACCESS_SETTINGS";
field public static final String ACTION_SYNC_SETTINGS = "android.settings.SYNC_SETTINGS";

View File

@@ -1721,6 +1721,20 @@ public final class Settings {
public static final String ACTION_ENTERPRISE_PRIVACY_SETTINGS
= "android.settings.ENTERPRISE_PRIVACY_SETTINGS";
/**
* Activity Action: Show Work Policy info.
* DPC apps can implement an activity that handles this intent in order to show device policies
* associated with the work profile or managed device.
* <p>
* Input: Nothing.
* <p>
* Output: Nothing.
*
*/
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String ACTION_SHOW_WORK_POLICY_INFO =
"android.settings.SHOW_WORK_POLICY_INFO";
/**
* Activity Action: Show screen that let user select its Autofill Service.
* <p>