diff options
| author | 2015-05-13 18:55:18 -0700 | |
|---|---|---|
| committer | 2015-05-13 20:48:19 -0700 | |
| commit | abfcfdc0444c48dd161e425c8417dab87de1cb69 (patch) | |
| tree | 0afc3f8161e22e3790b581d582d652bc91b53ffc | |
| parent | c9be9f4d5bcf513654dbca24e648312d61e04bfc (diff) | |
Make Conferenceable an abstract class
Bug: 21066017
Change-Id: Ibcbccfc7b1380e417b464aed9b968cbc0a6a1cc2
| -rw-r--r-- | api/current.txt | 6 | ||||
| -rw-r--r-- | api/system-current.txt | 6 | ||||
| -rw-r--r-- | telecomm/java/android/telecom/Conference.java | 2 | ||||
| -rw-r--r-- | telecomm/java/android/telecom/Conferenceable.java | 4 | ||||
| -rw-r--r-- | telecomm/java/android/telecom/Connection.java | 2 | ||||
| -rw-r--r-- | telecomm/java/android/telecom/IConferenceable.java | 28 |
6 files changed, 10 insertions, 38 deletions
diff --git a/api/current.txt b/api/current.txt index 5fac213a2d89..f340571a6e7b 100644 --- a/api/current.txt +++ b/api/current.txt @@ -30050,7 +30050,7 @@ package android.telecom { field public static final int ROUTE_WIRED_OR_EARPIECE = 5; // 0x5 } - public abstract class Conference implements android.telecom.Conferenceable { + public abstract class Conference extends android.telecom.Conferenceable { ctor public Conference(android.telecom.PhoneAccountHandle); method public final boolean addConnection(android.telecom.Connection); method public final void destroy(); @@ -30089,10 +30089,10 @@ package android.telecom { field public static final long CONNECT_TIME_NOT_SPECIFIED = 0L; // 0x0L } - public abstract interface Conferenceable { + public abstract class Conferenceable { } - public abstract class Connection implements android.telecom.Conferenceable { + public abstract class Connection extends android.telecom.Conferenceable { ctor public Connection(); method public static java.lang.String capabilitiesToString(int); method public static android.telecom.Connection createCanceledConnection(); diff --git a/api/system-current.txt b/api/system-current.txt index d727b2220540..95d8ae6ad484 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -32203,7 +32203,7 @@ package android.telecom { field public static final int ROUTE_WIRED_OR_EARPIECE = 5; // 0x5 } - public abstract class Conference implements android.telecom.Conferenceable { + public abstract class Conference extends android.telecom.Conferenceable { ctor public Conference(android.telecom.PhoneAccountHandle); method public final boolean addConnection(android.telecom.Connection); method public final void destroy(); @@ -32247,10 +32247,10 @@ package android.telecom { field public static final long CONNECT_TIME_NOT_SPECIFIED = 0L; // 0x0L } - public abstract interface Conferenceable { + public abstract class Conferenceable { } - public abstract class Connection implements android.telecom.Conferenceable { + public abstract class Connection extends android.telecom.Conferenceable { ctor public Connection(); method public static java.lang.String capabilitiesToString(int); method public static android.telecom.Connection createCanceledConnection(); diff --git a/telecomm/java/android/telecom/Conference.java b/telecomm/java/android/telecom/Conference.java index d8d9ab614d28..dfbb67a8c3df 100644 --- a/telecomm/java/android/telecom/Conference.java +++ b/telecomm/java/android/telecom/Conference.java @@ -30,7 +30,7 @@ import java.util.concurrent.CopyOnWriteArraySet; /** * Represents a conference call which can contain any number of {@link Connection} objects. */ -public abstract class Conference implements Conferenceable { +public abstract class Conference extends Conferenceable { /** * Used to indicate that the conference connection time is not specified. If not specified, diff --git a/telecomm/java/android/telecom/Conferenceable.java b/telecomm/java/android/telecom/Conferenceable.java index 5c4cbc50a734..bb6f2b8b3455 100644 --- a/telecomm/java/android/telecom/Conferenceable.java +++ b/telecomm/java/android/telecom/Conferenceable.java @@ -21,6 +21,6 @@ package android.telecom; * call with. The {@link ConnectionService} implementation will only recognize * {@link Conferenceable}s which are {@link Connection}s or {@link Conference}s. */ -public interface Conferenceable { - +public abstract class Conferenceable { + Conferenceable() {} } diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java index f39f813494f4..fba4e6a1bca4 100644 --- a/telecomm/java/android/telecom/Connection.java +++ b/telecomm/java/android/telecom/Connection.java @@ -47,7 +47,7 @@ import java.util.concurrent.ConcurrentHashMap; * must call {@link #destroy()} to signal to the framework that the {@code Connection} is no * longer used and associated resources may be recovered. */ -public abstract class Connection implements Conferenceable { +public abstract class Connection extends Conferenceable { public static final int STATE_INITIALIZING = 0; diff --git a/telecomm/java/android/telecom/IConferenceable.java b/telecomm/java/android/telecom/IConferenceable.java deleted file mode 100644 index a664baa5f3dc..000000000000 --- a/telecomm/java/android/telecom/IConferenceable.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License - */ - -package android.telecom; - -/** - * Interface used to identify entities with which another entity can participate in a conference - * call with. The {@link ConnectionService} implementation will only recognize - * {@link Conferenceable}s which are {@link Connection}s or {@link Conference}s. - * <p> - * @deprecated use {@link Conferenceable} instead. - * @hide - */ -public interface IConferenceable extends Conferenceable { -} |