summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2015-02-02 16:00:12 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-02-02 16:00:12 +0000
commit736cb492aea736e9c3b33fe20285f531497462d0 (patch)
treeb9f53bd3ad5a7a83252982a3f9087200293e6750
parentaea95a6a59468690102f6ffe2a5d92f99b0c91e9 (diff)
parent235f60bc134646d1ce18ab872b982ff63b14845e (diff)
downloadframeworks_base-736cb492aea736e9c3b33fe20285f531497462d0.zip
frameworks_base-736cb492aea736e9c3b33fe20285f531497462d0.tar.gz
frameworks_base-736cb492aea736e9c3b33fe20285f531497462d0.tar.bz2
am 235f60bc: am 4143b796: Merge "Fixing conference merge where only one party is added to conference." into lmp-mr1-dev
* commit '235f60bc134646d1ce18ab872b982ff63b14845e': 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();
+ }
+ }
}