summaryrefslogtreecommitdiff
path: root/telecomm/java/android/telecom/ConnectionService.java
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2020-04-14 23:16:54 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-04-14 23:16:54 +0000
commitcd5d9b29a1b0aed1c8b2c9dcbbcd55fee87cfd76 (patch)
tree4895c7ec783f4ea4d4a8a65e48b83e16429ca00c /telecomm/java/android/telecom/ConnectionService.java
parent5fb2147af2db303810b92d2f1eb9d0875d8503e5 (diff)
parent79110a9fd7656640eca918b0d92cf45afad6a96d (diff)
Merge "Ensure conference state is posted to Telecom for new conferences." into rvc-dev
Diffstat (limited to 'telecomm/java/android/telecom/ConnectionService.java')
-rwxr-xr-xtelecomm/java/android/telecom/ConnectionService.java5
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()) {