API Cleanup - rename IConferenceable to Conferenceable.

Bug: 20165255
Change-Id: If4cb323749b6ef9e8657506434d760d07c34167f
This commit is contained in:
Tyler Gunn
2015-04-20 09:13:01 -07:00
parent 56d16568c0
commit df2cbc8989
7 changed files with 59 additions and 31 deletions

View File

@@ -539,7 +539,7 @@ public abstract class ConnectionService extends Service {
@Override
public void onConferenceablesChanged(
Connection connection, List<IConferenceable> conferenceables) {
Connection connection, List<Conferenceable> conferenceables) {
mAdapter.setConferenceableConnections(
mIdByConnection.get(connection),
createIdList(conferenceables));
@@ -1176,14 +1176,14 @@ public abstract class ConnectionService extends Service {
/**
* Builds a list of {@link Connection} and {@link Conference} IDs based on the list of
* {@link IConferenceable}s passed in.
* {@link Conferenceable}s passed in.
*
* @param conferenceables The {@link IConferenceable} connections and conferences.
* @param conferenceables The {@link Conferenceable} connections and conferences.
* @return List of string conference and call Ids.
*/
private List<String> createIdList(List<IConferenceable> conferenceables) {
private List<String> createIdList(List<Conferenceable> conferenceables) {
List<String> ids = new ArrayList<>();
for (IConferenceable c : conferenceables) {
for (Conferenceable c : conferenceables) {
// Only allow Connection and Conference conferenceables.
if (c instanceof Connection) {
Connection connection = (Connection) c;