diff options
author | Tyler Gunn <tgunn@google.com> | 2020-05-12 15:12:53 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-05-12 15:12:53 +0000 |
commit | 2e46eac097e4e49ebde27d05043457bc45dc2746 (patch) | |
tree | 949772bcb73c4caed3be09dd3615c112c4acd258 /telecomm/java/android/telecom/ConnectionService.java | |
parent | c26ad188b7620927ad9124c1589421d88622ac97 (diff) | |
parent | 1036237bb5861ddeeda0617eae34148f192869d1 (diff) |
Merge "Ensure conference state is posted to Telecom for new conferences."
Diffstat (limited to 'telecomm/java/android/telecom/ConnectionService.java')
-rwxr-xr-x | telecomm/java/android/telecom/ConnectionService.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/ConnectionService.java b/telecomm/java/android/telecom/ConnectionService.java index 73296986d82e..1b60e4820ad0 100755 --- a/telecomm/java/android/telecom/ConnectionService.java +++ b/telecomm/java/android/telecom/ConnectionService.java @@ -2505,6 +2505,11 @@ public abstract class ConnectionService extends Service { mAdapter.addConferenceCall(id, parcelableConference); mAdapter.setVideoProvider(id, conference.getVideoProvider()); mAdapter.setVideoState(id, conference.getVideoState()); + // In some instances a conference can start its life as a standalone call with just a + // single participant; ensure we signal to Telecom in this case. + if (!conference.isMultiparty()) { + mAdapter.setConferenceState(id, conference.isMultiparty()); + } // Go through any child calls and set the parent. for (Connection connection : conference.getConnections()) { |