OSDN Git Service

Add AOSP intent for Work Policy Info
authorIvan Podogov <ginkage@google.com>
Fri, 2 Aug 2019 12:35:40 +0000 (13:35 +0100)
committerIvan Podogov <ginkage@google.com>
Tue, 29 Oct 2019 10:02:04 +0000 (10:02 +0000)
Bug: 134391103
Test: make, GTS
Change-Id: Ib51a00a40b04bcdd6db8f8c1ae8662d850c54713

api/current.txt
core/java/android/provider/Settings.java

index 66b17cc..57bbd77 100644 (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";
index aeed20d..b5580d4 100644 (file)
@@ -1722,6 +1722,20 @@ public final class 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>
      * Input: Intent's data URI set with an application name, using the