Loading telecomm/java/android/telecom/Conference.java +11 −0 Original line number Original line Diff line number Diff line Loading @@ -68,6 +68,7 @@ public abstract class Conference extends Conferenceable { public void onExtrasRemoved(Conference c, List<String> keys) {} public void onExtrasRemoved(Conference c, List<String> keys) {} public void onConferenceStateChanged(Conference c, boolean isConference) {} public void onConferenceStateChanged(Conference c, boolean isConference) {} public void onAddressChanged(Conference c, Uri newAddress, int presentation) {} public void onAddressChanged(Conference c, Uri newAddress, int presentation) {} public void onConnectionEvent(Conference c, String event, Bundle extras) {} public void onCallerDisplayNameChanged( public void onCallerDisplayNameChanged( Conference c, String callerDisplayName, int presentation) {} Conference c, String callerDisplayName, int presentation) {} } } Loading Loading @@ -1024,4 +1025,14 @@ public abstract class Conference extends Conferenceable { } } onExtrasChanged(b); onExtrasChanged(b); } } /** * See {@link Connection#sendConnectionEvent(String, Bundle)} * @hide */ public void sendConnectionEvent(String event, Bundle extras) { for (Listener l : mListeners) { l.onConnectionEvent(this, event, extras); } } } } telecomm/java/android/telecom/ConnectionService.java +8 −0 Original line number Original line Diff line number Diff line Loading @@ -1279,6 +1279,14 @@ public abstract class ConnectionService extends Service { mAdapter.setCallerDisplayName(id, callerDisplayName, presentation); mAdapter.setCallerDisplayName(id, callerDisplayName, presentation); } } } } @Override public void onConnectionEvent(Conference c, String event, Bundle extras) { String id = mIdByConference.get(c); if (id != null) { mAdapter.onConnectionEvent(id, event, extras); } } }; }; private final Connection.Listener mConnectionListener = new Connection.Listener() { private final Connection.Listener mConnectionListener = new Connection.Listener() { Loading Loading
telecomm/java/android/telecom/Conference.java +11 −0 Original line number Original line Diff line number Diff line Loading @@ -68,6 +68,7 @@ public abstract class Conference extends Conferenceable { public void onExtrasRemoved(Conference c, List<String> keys) {} public void onExtrasRemoved(Conference c, List<String> keys) {} public void onConferenceStateChanged(Conference c, boolean isConference) {} public void onConferenceStateChanged(Conference c, boolean isConference) {} public void onAddressChanged(Conference c, Uri newAddress, int presentation) {} public void onAddressChanged(Conference c, Uri newAddress, int presentation) {} public void onConnectionEvent(Conference c, String event, Bundle extras) {} public void onCallerDisplayNameChanged( public void onCallerDisplayNameChanged( Conference c, String callerDisplayName, int presentation) {} Conference c, String callerDisplayName, int presentation) {} } } Loading Loading @@ -1024,4 +1025,14 @@ public abstract class Conference extends Conferenceable { } } onExtrasChanged(b); onExtrasChanged(b); } } /** * See {@link Connection#sendConnectionEvent(String, Bundle)} * @hide */ public void sendConnectionEvent(String event, Bundle extras) { for (Listener l : mListeners) { l.onConnectionEvent(this, event, extras); } } } }
telecomm/java/android/telecom/ConnectionService.java +8 −0 Original line number Original line Diff line number Diff line Loading @@ -1279,6 +1279,14 @@ public abstract class ConnectionService extends Service { mAdapter.setCallerDisplayName(id, callerDisplayName, presentation); mAdapter.setCallerDisplayName(id, callerDisplayName, presentation); } } } } @Override public void onConnectionEvent(Conference c, String event, Bundle extras) { String id = mIdByConference.get(c); if (id != null) { mAdapter.onConnectionEvent(id, event, extras); } } }; }; private final Connection.Listener mConnectionListener = new Connection.Listener() { private final Connection.Listener mConnectionListener = new Connection.Listener() { Loading