summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2015-02-02 15:53:00 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-02-02 15:53:00 +0000
commit235f60bc134646d1ce18ab872b982ff63b14845e (patch)
tree31594c93d8f847253c5c04e045a4d6593149a6bc
parentc6fc5287138744a4684a837c883dedde14359612 (diff)
parent4143b796bc20072a12fe31cbfdf4f1918dff0728 (diff)
downloadframeworks_base-235f60bc134646d1ce18ab872b982ff63b14845e.zip
frameworks_base-235f60bc134646d1ce18ab872b982ff63b14845e.tar.gz
frameworks_base-235f60bc134646d1ce18ab872b982ff63b14845e.tar.bz2
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.txt1
-rw-r--r--telecomm/java/android/telecom/Connection.java10
2 files changed, 11 insertions, 0 deletions
diff --git a/api/system-current.txt b/api/system-current.txt
index 56edc72..d84b1dc 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 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();
+ }
+ }
}