From fc7b4444629d9166e3fda7b28e96394356bcf56d Mon Sep 17 00:00:00 2001 From: Nicolas Prevot Date: Wed, 17 Dec 2014 15:28:29 +0000 Subject: [PATCH] Fix the doc of addCrossProfileIntentFilter. Mention that cross-profile-intent-filters only work for activity intents. BUG:18776618 Change-Id: I209d1e38641b4ae84b682a2525e6ddae603a71f9 --- core/java/android/app/admin/DevicePolicyManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index 47530997eb6e2..e3abef1b5896a 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