Merge "Fixing conference merge where only one party is added to conference." into lmp-mr1-dev

This commit is contained in:
Tyler Gunn
2015-02-02 15:48:52 +00:00
committed by Android (Google) Code Review
2 changed files with 11 additions and 0 deletions

View File

@@ -260,6 +260,7 @@ public abstract class Connection implements IConferenceable {
/** @hide */
public void onConferenceParticipantsChanged(Connection c,
List<ConferenceParticipant> participants) {}
public void onConferenceStarted() {}
}
/** @hide */
@@ -1422,4 +1423,13 @@ public abstract class Connection implements IConferenceable {
l.onConferenceParticipantsChanged(this, conferenceParticipants);
}
}
/**
* Notifies listeners that a conference call has been started.
*/
protected void notifyConferenceStarted() {
for (Listener l : mListeners) {
l.onConferenceStarted();
}
}
}