summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2019-01-22 12:52:26 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-01-22 12:52:26 -0800
commit38f42a6f8e432e9bb4997a7fe700f2842da7785d (patch)
treedfaadf5ff559c46885cb071ece5d18fe36fd534a /core/java/android
parent25696ef82e40d6fd122cd51ac360a81ea6c1b58f (diff)
parent8aa49b57f34938b675d90fdbce499992360556af (diff)
Merge "Mark NEW_OUTGOING_CALL broadcast as deprecated." am: 1e08a90339
am: 8aa49b57f3 Change-Id: Ie60bbc11e0bd5ca434be609dd596ea1a33ba8812
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/content/Intent.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index e0be0bf26a47..b879047f05dc 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -2990,7 +2990,18 @@ public class Intent implements Parcelable, Cloneable {
*
* <p class="note">This is a protected intent that can only be sent
* by the system.
+ *
+ * <p class="note">If the user has chosen a {@link android.telecom.CallRedirectionService} to
+ * handle redirection of outgoing calls, this intent will NOT be sent as an ordered broadcast.
+ * This means that attempts to re-write the outgoing call by other apps using this intent will
+ * be ignored.
+ * </p>
+ *
+ * @deprecated Apps that redirect outgoing calls should use the
+ * {@link android.telecom.CallRedirectionService} API. Apps that perform call screening
+ * should use the {@link android.telecom.CallScreeningService} API.
*/
+ @Deprecated
@SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
public static final String ACTION_NEW_OUTGOING_CALL =
"android.intent.action.NEW_OUTGOING_CALL";