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

Commit c49b746b authored by Hall Liu's avatar Hall Liu Committed by Android (Google) Code Review
Browse files

Merge "Integrate call composer into the call flow" into sc-dev

parents bdbaa3e1 830ae88a
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@ import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.os.ParcelUuid;
import android.os.PersistableBundle;
import android.os.Registrant;
import android.os.RegistrantList;
@@ -61,6 +62,7 @@ import android.telephony.PhoneNumberUtils;
import android.telephony.ServiceState;
import android.telephony.SubscriptionInfo;
import android.telephony.SubscriptionManager;
import android.telephony.TelephonyLocalConnection;
import android.telephony.TelephonyManager;
import android.telephony.emergency.EmergencyNumber;
import android.telephony.ims.ImsCallProfile;
@@ -1596,7 +1598,10 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall {

                if (intentExtras.containsKey(
                        android.telecom.TelecomManager.EXTRA_OUTGOING_PICTURE)) {
                    // TODO(hallliu) Set ImsCallProfile.EXTRA_PICTURE_URL with cached URL string
                    String url = TelephonyLocalConnection.getCallComposerServerUrlForHandle(
                            mPhone.getSubId(), ((ParcelUuid) intentExtras.getParcelable(
                                    TelecomManager.EXTRA_OUTGOING_PICTURE)).getUuid());
                    profile.setCallExtra(ImsCallProfile.EXTRA_PICTURE_URL, url);
                }

                if (conn.hasRttTextStream()) {