Ensure connection extras are propagated on start of call.

When a new call is created in Telephony, there is a potential for the
connection extras to not be passed up through to Telecom if the RIL
does not call the onExtrasChanged callback.  If the connections were set
on the original connection but never changed, then it is conceivable that
we may never see an onExtrasChanged callback and hence never propagate
the extras up.

Bug: 24585039
Change-Id: Ic1da1998a25afb6d380fda81bba591846a02dda7
diff --git a/src/com/android/services/telephony/TelephonyConnection.java b/src/com/android/services/telephony/TelephonyConnection.java
index fe6e4f4..5995e53 100644
--- a/src/com/android/services/telephony/TelephonyConnection.java
+++ b/src/com/android/services/telephony/TelephonyConnection.java
@@ -623,6 +623,7 @@
         setWifi(mOriginalConnection.isWifi());
         setVideoProvider(mOriginalConnection.getVideoProvider());
         setAudioQuality(mOriginalConnection.getAudioQuality());
+        updateExtras(mOriginalConnection.getConnectionExtras());
 
         if (isImsConnection()) {
             mWasImsConnection = true;