OSDN Git Service

Updating documentation for the flags of addCrossProfileIntentFilter
authorNicolas Prevot <nprevot@google.com>
Mon, 9 Jun 2014 10:48:56 +0000 (11:48 +0100)
committerNicolas Prevot <nprevot@google.com>
Mon, 9 Jun 2014 10:55:23 +0000 (11:55 +0100)
Change-Id: I32ed07aecdc8009cbb5708777da5085feabfd4ef

core/java/android/app/admin/DevicePolicyManager.java

index 57e0f63..32f51fd 100644 (file)
@@ -2006,6 +2006,8 @@ public class DevicePolicyManager {
      * @param admin Which {@link DeviceAdminReceiver} this request is associated with.
      * @param filter The {@link IntentFilter} the intent has to match to be also resolved in the
      * other profile
+     * @param flags {@link DevicePolicyManager#FLAG_MANAGED_CAN_ACCESS_PARENT} and
+     * {@link DevicePolicyManager#FLAG_PARENT_CAN_ACCESS_MANAGED} are supported.
      */
     public void addCrossProfileIntentFilter(ComponentName admin, IntentFilter filter, int flags) {
         if (mService != null) {