diff options
| -rw-r--r-- | core/java/android/content/Intent.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index 8bc5e8c1ef34..9e316a2d3560 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -3771,6 +3771,10 @@ public class Intent implements Parcelable, Cloneable { * <li><em>{@link android.content.Intent#EXTRA_PHONE_NUMBER}</em> - * the phone number originally intended to be dialed.</li> * </ul> + * <p class="note">Starting in Android 15, this broadcast is no longer sent as an ordered + * broadcast. The <code>resultData</code> no longer has any effect and will not determine the + * actual routing of the call. Further, receivers of this broadcast do not get foreground + * priority and cannot launch background activities.</p> * <p>Once the broadcast is finished, the resultData is used as the actual * number to call. If <code>null</code>, no call will be placed.</p> * <p>It is perfectly acceptable for multiple receivers to process the @@ -3811,8 +3815,8 @@ public class Intent implements Parcelable, Cloneable { * {@link android.telecom.CallRedirectionService} API. Apps that perform call screening * should use the {@link android.telecom.CallScreeningService} API. Apps which need to be * notified of basic call state should use - * {@link android.telephony.PhoneStateListener#onCallStateChanged(int, String)} to determine - * when a new outgoing call is placed. + * {@link android.telephony.TelephonyCallback.CallStateListener} to determine when a new + * outgoing call is placed. */ @Deprecated @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) |