summaryrefslogtreecommitdiffstats
path: root/core/java/android/app/admin
diff options
context:
space:
mode:
authorNicolas Prevot <nprevot@google.com>2014-12-17 15:28:29 +0000
committerNicolas Prevot <nprevot@google.com>2014-12-17 17:55:08 +0000
commitfc7b4444629d9166e3fda7b28e96394356bcf56d (patch)
tree31f0389a36b072a947a7e1c47083897e78de663d /core/java/android/app/admin
parent7e168ad04a4553c23bca1e9bd427ba6088493908 (diff)
downloadframeworks_base-fc7b4444629d9166e3fda7b28e96394356bcf56d.zip
frameworks_base-fc7b4444629d9166e3fda7b28e96394356bcf56d.tar.gz
frameworks_base-fc7b4444629d9166e3fda7b28e96394356bcf56d.tar.bz2
Fix the doc of addCrossProfileIntentFilter.
Mention that cross-profile-intent-filters only work for activity intents. BUG:18776618 Change-Id: I209d1e38641b4ae84b682a2525e6ddae603a71f9
Diffstat (limited to 'core/java/android/app/admin')
-rw-r--r--core/java/android/app/admin/DevicePolicyManager.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java
index 4753099..e3abef1 100644
--- a/core/java/android/app/admin/DevicePolicyManager.java
+++ b/core/java/android/app/admin/DevicePolicyManager.java
@@ -2781,6 +2781,8 @@ public class DevicePolicyManager {
/**
* Called by the profile owner of a managed profile so that some intents sent in the managed
* profile can also be resolved in the parent, or vice versa.
+ * Only activity intents are supported.
+ *
* @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