diff options
| author | 2015-02-02 15:53:00 +0000 | |
|---|---|---|
| committer | 2015-02-02 15:53:00 +0000 | |
| commit | 235f60bc134646d1ce18ab872b982ff63b14845e (patch) | |
| tree | 31594c93d8f847253c5c04e045a4d6593149a6bc | |
| parent | c6fc5287138744a4684a837c883dedde14359612 (diff) | |
| parent | 4143b796bc20072a12fe31cbfdf4f1918dff0728 (diff) | |
am 4143b796: Merge "Fixing conference merge where only one party is added to conference." into lmp-mr1-dev
* commit '4143b796bc20072a12fe31cbfdf4f1918dff0728':
Fixing conference merge where only one party is added to conference.
| -rw-r--r-- | api/system-current.txt | 1 | ||||
| -rw-r--r-- | telecomm/java/android/telecom/Connection.java | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/api/system-current.txt b/api/system-current.txt index 56edc72cb79c..d84b1dc97908 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -30037,6 +30037,7 @@ package android.telecom { method public final int getState(); method public final android.telecom.StatusHints getStatusHints(); method public final boolean isRingbackRequested(); + method protected void notifyConferenceStarted(); method public void onAbort(); method public void onAnswer(); method public void onAudioStateChanged(android.telecom.AudioState); diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java index a180f447dc7e..03fec0104d7c 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(); + } + } } |