Remove deprecated Telecom APIs
This APIs are no longer used and are safe to delete. Bug: 18607657 Change-Id: I94dad196db9f8be544f05b12b7b71de124fc9328
This commit is contained in:
@@ -54,14 +54,9 @@ public final class AudioState implements Parcelable {
|
||||
public static final int ROUTE_ALL = ROUTE_EARPIECE | ROUTE_BLUETOOTH | ROUTE_WIRED_HEADSET |
|
||||
ROUTE_SPEAKER;
|
||||
|
||||
/** Note: Deprecated, please do not use if possible. */
|
||||
@SystemApi public final boolean isMuted;
|
||||
|
||||
/** Note: Deprecated, please do not use if possible. */
|
||||
@SystemApi public final int route;
|
||||
|
||||
/** Note: Deprecated, please do not use if possible. */
|
||||
@SystemApi public final int supportedRouteMask;
|
||||
private final boolean isMuted;
|
||||
private final int route;
|
||||
private final int supportedRouteMask;
|
||||
|
||||
public AudioState(boolean muted, int route, int supportedRouteMask) {
|
||||
this.isMuted = muted;
|
||||
|
||||
@@ -112,11 +112,6 @@ public abstract class Conference implements IConferenceable {
|
||||
return mState;
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
@Deprecated public final int getCapabilities() {
|
||||
return getConnectionCapabilities();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the capabilities of a conference. See {@code CAPABILITY_*} constants in class
|
||||
* {@link Connection} for valid values.
|
||||
@@ -281,11 +276,6 @@ public abstract class Conference implements IConferenceable {
|
||||
return mDisconnectCause;
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
@Deprecated public final void setCapabilities(int connectionCapabilities) {
|
||||
setConnectionCapabilities(connectionCapabilities);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the capabilities of a conference. See {@code CAPABILITY_*} constants of class
|
||||
* {@link Connection} for valid values.
|
||||
|
||||
@@ -839,11 +839,6 @@ public abstract class Connection implements IConferenceable {
|
||||
return mConnectionCapabilities;
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
@SystemApi @Deprecated public final int getCallCapabilities() {
|
||||
return getConnectionCapabilities();
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the {@link #getAddress()} property.
|
||||
*
|
||||
@@ -1031,11 +1026,6 @@ public abstract class Connection implements IConferenceable {
|
||||
}
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
@SystemApi @Deprecated public final void setCallCapabilities(int connectionCapabilities) {
|
||||
setConnectionCapabilities(connectionCapabilities);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the connection's capabilities as a bit mask of the {@code CAPABILITY_*} constants.
|
||||
*
|
||||
|
||||
@@ -164,11 +164,6 @@ public final class RemoteConference {
|
||||
return mState;
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
@Deprecated public final int getCallCapabilities() {
|
||||
return getConnectionCapabilities();
|
||||
}
|
||||
|
||||
public final int getConnectionCapabilities() {
|
||||
return mConnectionCapabilities;
|
||||
}
|
||||
|
||||
@@ -73,11 +73,6 @@ public final class RemoteConnection {
|
||||
*/
|
||||
public void onRingbackRequested(RemoteConnection connection, boolean ringback) {}
|
||||
|
||||
/** @hide */
|
||||
@Deprecated public void onCallCapabilitiesChanged(
|
||||
RemoteConnection connection,
|
||||
int callCapabilities) {}
|
||||
|
||||
/**
|
||||
* Indicates that the call capabilities of this {@code RemoteConnection} have changed.
|
||||
* See {@link #getConnectionCapabilities()}.
|
||||
@@ -842,7 +837,6 @@ public final class RemoteConnection {
|
||||
mConnectionCapabilities = connectionCapabilities;
|
||||
for (Callback c : mCallbacks) {
|
||||
c.onConnectionCapabilitiesChanged(this, connectionCapabilities);
|
||||
c.onCallCapabilitiesChanged(this, connectionCapabilities);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user