Un-hide Connection#onReject(String) and its associated capability
The capability is CAPABILITY_CAN_SEND_RESPONSE_VIA_CONNECTION
Bug: 27501686
Change-Id: Id73bb99650ca8440a9f4e87bfe533a97c4d19778
diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java
index 5c34bd8..51a6588 100644
--- a/telecomm/java/android/telecom/Connection.java
+++ b/telecomm/java/android/telecom/Connection.java
@@ -260,7 +260,6 @@
/**
* Indicates that the connection itself wants to handle any sort of reply response, rather than
* relying on SMS.
- * @hide
*/
public static final int CAPABILITY_CAN_SEND_RESPONSE_VIA_CONNECTION = 0x00400000;
@@ -1887,9 +1886,8 @@
public void onReject() {}
/**
- * Notifies ths Connection of a request reject with a message.
- *
- * @hide
+ * Notifies this Connection, which is in {@link #STATE_RINGING}, of
+ * a request to reject with a message.
*/
public void onReject(String replyMessage) {}