summaryrefslogtreecommitdiffstats
path: root/telecomm/java/android/telecom/Connection.java
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2015-01-30 13:07:32 +0000
committerNarayan Kamath <narayan@google.com>2015-01-30 13:07:32 +0000
commit12ca74e2a0b26d1805b3caac9488961078b5409b (patch)
tree58c13309caa3704b0d8a17885cd62fa4ef6c6ac9 /telecomm/java/android/telecom/Connection.java
parenta7c9046973260aa71837410ffc8df8c296a2826f (diff)
downloadframeworks_base-12ca74e2a0b26d1805b3caac9488961078b5409b.zip
frameworks_base-12ca74e2a0b26d1805b3caac9488961078b5409b.tar.gz
frameworks_base-12ca74e2a0b26d1805b3caac9488961078b5409b.tar.bz2
Revert "Remove deprecated Telecom APIs"
This reverts commit a7c9046973260aa71837410ffc8df8c296a2826f. Change-Id: I66d3d961988ff8dd330c9482c070bfca055f6cb8
Diffstat (limited to 'telecomm/java/android/telecom/Connection.java')
-rw-r--r--telecomm/java/android/telecom/Connection.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java
index d6233ef..a180f44 100644
--- a/telecomm/java/android/telecom/Connection.java
+++ b/telecomm/java/android/telecom/Connection.java
@@ -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.
*