DO NOT MERGE Remove connection substate
Bug:20300433 Change-Id: Ifefc08b5165de3e0b6ce92007e5f612879dcc4d9
This commit is contained in:
@@ -562,13 +562,6 @@ public abstract class ConnectionService extends Service {
|
||||
mAdapter.setIsConferenced(id, conferenceId);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCallSubstateChanged(Connection c, int callSubstate) {
|
||||
String id = mIdByConnection.get(c);
|
||||
Log.d(this, "Adapter set call substate %d", callSubstate);
|
||||
mAdapter.setCallSubstate(id, callSubstate);
|
||||
}
|
||||
};
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@@ -638,8 +631,7 @@ public abstract class ConnectionService extends Service {
|
||||
connection.getAudioModeIsVoip(),
|
||||
connection.getStatusHints(),
|
||||
connection.getDisconnectCause(),
|
||||
createIdList(connection.getConferenceables()),
|
||||
connection.getCallSubstate()));
|
||||
createIdList(connection.getConferenceables())));
|
||||
}
|
||||
|
||||
private void abort(String callId) {
|
||||
@@ -963,7 +955,7 @@ public abstract class ConnectionService extends Service {
|
||||
connection.getAudioModeIsVoip(),
|
||||
connection.getStatusHints(),
|
||||
connection.getDisconnectCause(),
|
||||
emptyList, connection.getCallSubstate());
|
||||
emptyList);
|
||||
mAdapter.addExistingConnection(id, parcelableConnection);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user