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

Commit 18cdd324 authored by Tyler Gunn's avatar Tyler Gunn Committed by Automerger Merge Worker
Browse files

Merge "Improve TelecomManager#addNewIncomingCall API docs." am: 64c81721 am:...

Merge "Improve TelecomManager#addNewIncomingCall API docs." am: 64c81721 am: 58fda43d am: 3f1868a5

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2431252



Change-Id: I263977f277f0b8289213078ca8506fe43616fcc0
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 85adf7b8 3f1868a5
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2073,6 +2073,14 @@ public class TelecomManager {
     * {@link #getPhoneAccount}. Self-managed {@link ConnectionService}s must have
     * {@link android.Manifest.permission#MANAGE_OWN_CALLS} to add a new incoming call.
     * <p>
     * Specify the address associated with the incoming call using
     * {@link #EXTRA_INCOMING_CALL_ADDRESS}.  If an incoming call is from an anonymous source, omit
     * this extra and ensure you specify a valid number presentation via
     * {@link Connection#setAddress(Uri, int)} on the {@link Connection} instance you return in
     * your
     * {@link ConnectionService#onCreateIncomingConnection(PhoneAccountHandle, ConnectionRequest)}
     * implementation.
     * <p>
     * The incoming call you are adding is assumed to have a video state of
     * {@link VideoProfile#STATE_AUDIO_ONLY}, unless the extra value
     * {@link #EXTRA_INCOMING_VIDEO_STATE} is specified.