IMS Conference changes
Use conferencehostconnection to set the state
of conference
Bug: 20224516, 20232100
Change-Id: Id8c5e245d3e0b16199ef23e6ecdd60f75f548dd2
diff --git a/src/com/android/services/telephony/ImsConferenceController.java b/src/com/android/services/telephony/ImsConferenceController.java
index f445dcb..7dcb97e 100644
--- a/src/com/android/services/telephony/ImsConferenceController.java
+++ b/src/com/android/services/telephony/ImsConferenceController.java
@@ -317,7 +317,7 @@
// Create conference and add to telecom
ImsConference conference = new ImsConference(mConnectionService, conferenceHostConnection);
- conference.setState(connection.getState());
+ conference.setState(conferenceHostConnection.getState());
conference.addListener(mConferenceListener);
conference.updateConferenceParticipantsAfterCreation();
mConnectionService.addConference(conference);