Revert "Remove deprecated Telecom APIs"

This reverts commit a7c9046973.

Change-Id: I66d3d961988ff8dd330c9482c070bfca055f6cb8
This commit is contained in:
Narayan Kamath
2015-01-30 13:07:32 +00:00
parent a7c9046973
commit 12ca74e2a0
5 changed files with 39 additions and 3 deletions

View File

@@ -839,6 +839,11 @@ 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.
*
@@ -1026,6 +1031,11 @@ 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.
*