OSDN Git Service

Re-add Connection.getCallCapabilities
authorSailesh Nepal <sail@google.com>
Tue, 2 Dec 2014 23:18:25 +0000 (15:18 -0800)
committerJay Shrauner <shrauner@google.com>
Wed, 3 Dec 2014 18:05:48 +0000 (18:05 +0000)
This method wasn't supposed to be removed.

Bug: 18594044
Bug: 18292176
Change-Id: Iac4cc0972643a8271957e480d3f48d50243af271

telecomm/java/android/telecom/Connection.java

index a551aad..bd0c33f 100644 (file)
@@ -838,6 +838,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.
      *