Loading src/java/com/android/internal/telephony/Connection.java +10 −0 Original line number Diff line number Diff line Loading @@ -129,6 +129,7 @@ public abstract class Connection { private int mCallSubstate; private android.telecom.Connection.VideoProvider mVideoProvider; public Call.State mPreHandoverState = Call.State.IDLE; private Bundle mExtras; /* Instance Methods */ Loading Loading @@ -632,11 +633,20 @@ public abstract class Connection { * @param extras New connection extras. */ public void setConnectionExtras(Bundle extras) { mExtras = extras; for (Listener l : mListeners) { l.onExtrasChanged(extras); } } /** * Retrieves the current connection extras. * @return the connection extras. */ public Bundle getConnectionExtras() { return mExtras; } /** * Sets the call substate for the current connection and reports the changes to all listeners. * Valid call substates are defined in {@link android.telecom.Connection}. Loading src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java +5 −0 Original line number Diff line number Diff line Loading @@ -165,6 +165,11 @@ public class ImsPhoneConnection extends Connection { updateWifiState(); // Ensure any extras set on the ImsCallProfile at the start of the call are cached locally // in the ImsPhoneConnection. This isn't going to inform any listeners (since the original // connection is not likely to be associated with a TelephonyConnection yet). updateExtras(imsCall); mParent = parent; mParent.attach(this, (mIsIncoming? ImsPhoneCall.State.INCOMING: ImsPhoneCall.State.DIALING)); Loading Loading
src/java/com/android/internal/telephony/Connection.java +10 −0 Original line number Diff line number Diff line Loading @@ -129,6 +129,7 @@ public abstract class Connection { private int mCallSubstate; private android.telecom.Connection.VideoProvider mVideoProvider; public Call.State mPreHandoverState = Call.State.IDLE; private Bundle mExtras; /* Instance Methods */ Loading Loading @@ -632,11 +633,20 @@ public abstract class Connection { * @param extras New connection extras. */ public void setConnectionExtras(Bundle extras) { mExtras = extras; for (Listener l : mListeners) { l.onExtrasChanged(extras); } } /** * Retrieves the current connection extras. * @return the connection extras. */ public Bundle getConnectionExtras() { return mExtras; } /** * Sets the call substate for the current connection and reports the changes to all listeners. * Valid call substates are defined in {@link android.telecom.Connection}. Loading
src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java +5 −0 Original line number Diff line number Diff line Loading @@ -165,6 +165,11 @@ public class ImsPhoneConnection extends Connection { updateWifiState(); // Ensure any extras set on the ImsCallProfile at the start of the call are cached locally // in the ImsPhoneConnection. This isn't going to inform any listeners (since the original // connection is not likely to be associated with a TelephonyConnection yet). updateExtras(imsCall); mParent = parent; mParent.attach(this, (mIsIncoming? ImsPhoneCall.State.INCOMING: ImsPhoneCall.State.DIALING)); Loading