Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43a0c819 authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Update NEW_OUTGOING_CALL broadcast deprecation docs.

Include alternative for detecting outgoing calls using the
PhoneStateListener.

Test: Docs only change.
Bug: 76150844
Change-Id: I00a1c5619a67703beccd65e7ece6c16eca1c1a6e
parent 37f66200
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2999,7 +2999,10 @@ public class Intent implements Parcelable, Cloneable {
     *
     * @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.
     * 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.
     */
    @Deprecated
    @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)