diff options
author | Tyler Gunn <tgunn@google.com> | 2015-02-02 15:48:52 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-02-02 15:48:53 +0000 |
commit | 4143b796bc20072a12fe31cbfdf4f1918dff0728 (patch) | |
tree | aa64684d6ea1f69a6f8c245fbc48d08fa579d087 /telecomm | |
parent | dcce25a9a7fb3458f2fb65b23912b5f7eb42c596 (diff) | |
parent | 8a2b1199a6db0c6f2493e96e25ec1d89e3f62769 (diff) | |
download | frameworks_base-4143b796bc20072a12fe31cbfdf4f1918dff0728.zip frameworks_base-4143b796bc20072a12fe31cbfdf4f1918dff0728.tar.gz frameworks_base-4143b796bc20072a12fe31cbfdf4f1918dff0728.tar.bz2 |
Merge "Fixing conference merge where only one party is added to conference." into lmp-mr1-dev
Diffstat (limited to 'telecomm')
-rw-r--r-- | telecomm/java/android/telecom/Connection.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java index a180f44..03fec01 100644 --- a/telecomm/java/android/telecom/Connection.java +++ b/telecomm/java/android/telecom/Connection.java @@ -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(); + } + } } |