Un-hide Connection#onReject(String) and its associated capability
The capability is CAPABILITY_CAN_SEND_RESPONSE_VIA_CONNECTION Bug: 27501686 Change-Id: Id73bb99650ca8440a9f4e87bfe533a97c4d19778
This commit is contained in:
@@ -36263,6 +36263,7 @@ package android.telecom {
|
||||
method public void onPostDialContinue(boolean);
|
||||
method public void onPullExternalCall();
|
||||
method public void onReject();
|
||||
method public void onReject(java.lang.String);
|
||||
method public void onSeparate();
|
||||
method public void onStateChanged(int);
|
||||
method public void onStopDtmfTone();
|
||||
@@ -36292,6 +36293,7 @@ package android.telecom {
|
||||
field public static final int CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO = 8388608; // 0x800000
|
||||
field public static final int CAPABILITY_CAN_PAUSE_VIDEO = 1048576; // 0x100000
|
||||
field public static final int CAPABILITY_CAN_PULL_CALL = 33554432; // 0x2000000
|
||||
field public static final int CAPABILITY_CAN_SEND_RESPONSE_VIA_CONNECTION = 4194304; // 0x400000
|
||||
field public static final int CAPABILITY_CAN_UPGRADE_TO_VIDEO = 524288; // 0x80000
|
||||
field public static final int CAPABILITY_DISCONNECT_FROM_CONFERENCE = 8192; // 0x2000
|
||||
field public static final int CAPABILITY_HOLD = 1; // 0x1
|
||||
|
||||
@@ -38876,6 +38876,7 @@ package android.telecom {
|
||||
method public void onPostDialContinue(boolean);
|
||||
method public void onPullExternalCall();
|
||||
method public void onReject();
|
||||
method public void onReject(java.lang.String);
|
||||
method public void onSeparate();
|
||||
method public void onStateChanged(int);
|
||||
method public void onStopDtmfTone();
|
||||
@@ -38905,6 +38906,7 @@ package android.telecom {
|
||||
field public static final int CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO = 8388608; // 0x800000
|
||||
field public static final int CAPABILITY_CAN_PAUSE_VIDEO = 1048576; // 0x100000
|
||||
field public static final int CAPABILITY_CAN_PULL_CALL = 33554432; // 0x2000000
|
||||
field public static final int CAPABILITY_CAN_SEND_RESPONSE_VIA_CONNECTION = 4194304; // 0x400000
|
||||
field public static final int CAPABILITY_CAN_UPGRADE_TO_VIDEO = 524288; // 0x80000
|
||||
field public static final int CAPABILITY_DISCONNECT_FROM_CONFERENCE = 8192; // 0x2000
|
||||
field public static final int CAPABILITY_HOLD = 1; // 0x1
|
||||
|
||||
@@ -36335,6 +36335,7 @@ package android.telecom {
|
||||
method public void onPostDialContinue(boolean);
|
||||
method public void onPullExternalCall();
|
||||
method public void onReject();
|
||||
method public void onReject(java.lang.String);
|
||||
method public void onSeparate();
|
||||
method public void onStateChanged(int);
|
||||
method public void onStopDtmfTone();
|
||||
@@ -36364,6 +36365,7 @@ package android.telecom {
|
||||
field public static final int CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO = 8388608; // 0x800000
|
||||
field public static final int CAPABILITY_CAN_PAUSE_VIDEO = 1048576; // 0x100000
|
||||
field public static final int CAPABILITY_CAN_PULL_CALL = 33554432; // 0x2000000
|
||||
field public static final int CAPABILITY_CAN_SEND_RESPONSE_VIA_CONNECTION = 4194304; // 0x400000
|
||||
field public static final int CAPABILITY_CAN_UPGRADE_TO_VIDEO = 524288; // 0x80000
|
||||
field public static final int CAPABILITY_DISCONNECT_FROM_CONFERENCE = 8192; // 0x2000
|
||||
field public static final int CAPABILITY_HOLD = 1; // 0x1
|
||||
|
||||
@@ -260,7 +260,6 @@ public abstract class Connection extends Conferenceable {
|
||||
/**
|
||||
* 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 abstract class Connection extends Conferenceable {
|
||||
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) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user