Merge "Make documentation for cross-profile intent filters clearer." into lmp-mr1-dev

This commit is contained in:
Nicolas Prevot
2015-01-14 13:33:11 +00:00
committed by Android (Google) Code Review

View File

@@ -465,20 +465,20 @@ public class DevicePolicyManager {
= "android.app.action.SET_NEW_PASSWORD"; = "android.app.action.SET_NEW_PASSWORD";
/** /**
* Flag used by {@link #addCrossProfileIntentFilter} to allow access * Flag used by {@link #addCrossProfileIntentFilter} to allow activities in
* <em>from</em> a managed profile <em>to</em> its parent. That is, any * the parent profile to access intents sent from the managed profile.
* matching activities in the parent profile are included in the * That is, when an app in the managed profile calls
* disambiguation list shown when an app in the managed profile calls * {@link Activity#startActivity(Intent)}, the intent can be resolved by a
* {@link Activity#startActivity(Intent)}. * matching activity in the parent profile.
*/ */
public static final int FLAG_PARENT_CAN_ACCESS_MANAGED = 0x0001; public static final int FLAG_PARENT_CAN_ACCESS_MANAGED = 0x0001;
/** /**
* Flag used by {@link #addCrossProfileIntentFilter} to allow access * Flag used by {@link #addCrossProfileIntentFilter} to allow activities in
* <em>from</em> a parent <em>to</em> its managed profile. That is, any * the managed profile to access intents sent from the parent profile.
* matching activities in the managed profile are included in the * That is, when an app in the parent profile calls
* disambiguation list shown when an app in the parent profile calls * {@link Activity#startActivity(Intent)}, the intent can be resolved by a
* {@link Activity#startActivity(Intent)}. * matching activity in the managed profile.
*/ */
public static final int FLAG_MANAGED_CAN_ACCESS_PARENT = 0x0002; public static final int FLAG_MANAGED_CAN_ACCESS_PARENT = 0x0002;