diff options
| author | Nicolas Prevot <nprevot@google.com> | 2015-06-22 23:18:30 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-06-22 23:18:32 +0000 |
| commit | 3ab6f9e691fac6eeea1af8fb35bd4c41cdd692ca (patch) | |
| tree | f4b3d72352beb8d8c8bc27ab68d7ed47a3bd5ae4 /core/java/android | |
| parent | 2928f184b9789dc1f9609945a6f102d9eeaee6da (diff) | |
| parent | 9edbda18df025527e18614cf0c45d538a27af30f (diff) | |
Merge "Allow cross-profile app linking from work to personal." into mnc-dev
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/os/UserManager.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/core/java/android/os/UserManager.java b/core/java/android/os/UserManager.java index 00350ec92a36..9770941babc4 100644 --- a/core/java/android/os/UserManager.java +++ b/core/java/android/os/UserManager.java @@ -449,6 +449,22 @@ public class UserManager { public static final String DISALLOW_RECORD_AUDIO = "no_record_audio"; /** + * This user restriction has an effect only in a managed profile. + * If set: + * Intent filters of activities in the parent profile with action + * {@link android.content.Intent#ACTION_VIEW}, + * category {@link android.content.Intent#CATEGORY_BROWSABLE}, scheme http or https, and which + * define a host can handle intents from the managed profile. + * The default value is <code>false</code>. + * + * <p/>Key for user restrictions. + * <p/>Type: Boolean + * @see #setUserRestrictions(Bundle) + * @see #getUserRestrictions() + */ + public static final String ALLOW_PARENT_APP_LINKING = "allow_parent_app_linking"; + + /** * Application restriction key that is used to indicate the pending arrival * of real restrictions for the app. * |
