Merge "Report missed incoming calls which are auto rejected by the modem"
This commit is contained in:
committed by
Android (Google) Code Review
commit
82420e4e21
@@ -9569,6 +9569,7 @@ package android.telephony {
|
||||
field public static final int IMS_ACCESS_BLOCKED = 60; // 0x3c
|
||||
field public static final int IMS_MERGED_SUCCESSFULLY = 45; // 0x2d
|
||||
field public static final int IMS_SIP_ALTERNATE_EMERGENCY_CALL = 71; // 0x47
|
||||
field public static final int INCOMING_AUTO_REJECTED = 81; // 0x51
|
||||
field public static final int INCOMING_MISSED = 1; // 0x1
|
||||
field public static final int INCOMING_REJECTED = 16; // 0x10
|
||||
field public static final int INVALID_CREDENTIALS = 10; // 0xa
|
||||
@@ -10726,6 +10727,7 @@ package android.telephony.ims {
|
||||
field public static final int DIALSTRING_USSD = 2; // 0x2
|
||||
field public static final String EXTRA_ADDITIONAL_CALL_INFO = "AdditionalCallInfo";
|
||||
field public static final String EXTRA_ADDITIONAL_SIP_INVITE_FIELDS = "android.telephony.ims.extra.ADDITIONAL_SIP_INVITE_FIELDS";
|
||||
field public static final String EXTRA_CALL_DISCONNECT_CAUSE = "android.telephony.ims.extra.CALL_DISCONNECT_CAUSE";
|
||||
field public static final String EXTRA_CALL_RAT_TYPE = "CallRadioTech";
|
||||
field public static final String EXTRA_CHILD_NUMBER = "ChildNum";
|
||||
field public static final String EXTRA_CNA = "cna";
|
||||
|
||||
@@ -3394,6 +3394,7 @@ package android.telephony.ims {
|
||||
field public static final int DIALSTRING_USSD = 2; // 0x2
|
||||
field public static final String EXTRA_ADDITIONAL_CALL_INFO = "AdditionalCallInfo";
|
||||
field public static final String EXTRA_ADDITIONAL_SIP_INVITE_FIELDS = "android.telephony.ims.extra.ADDITIONAL_SIP_INVITE_FIELDS";
|
||||
field public static final String EXTRA_CALL_DISCONNECT_CAUSE = "android.telephony.ims.extra.CALL_DISCONNECT_CAUSE";
|
||||
field public static final String EXTRA_CALL_RAT_TYPE = "CallRadioTech";
|
||||
field public static final String EXTRA_CHILD_NUMBER = "ChildNum";
|
||||
field public static final String EXTRA_CNA = "cna";
|
||||
|
||||
@@ -360,6 +360,12 @@ public final class DisconnectCause {
|
||||
*/
|
||||
public static final int OUTGOING_EMERGENCY_CALL_PLACED = 80;
|
||||
|
||||
/**
|
||||
* Indicates that incoming call was rejected by the modem before the call went in ringing
|
||||
*/
|
||||
public static final int INCOMING_AUTO_REJECTED = 81;
|
||||
|
||||
|
||||
//*********************************************************************************************
|
||||
// When adding a disconnect type:
|
||||
// 1) Update toString() with the newly added disconnect type.
|
||||
@@ -536,6 +542,8 @@ public final class DisconnectCause {
|
||||
return "WFC_SERVICE_NOT_AVAILABLE_IN_THIS_LOCATION";
|
||||
case OUTGOING_EMERGENCY_CALL_PLACED:
|
||||
return "OUTGOING_EMERGENCY_CALL_PLACED";
|
||||
case INCOMING_AUTO_REJECTED:
|
||||
return "INCOMING_AUTO_REJECTED";
|
||||
default:
|
||||
return "INVALID: " + cause;
|
||||
}
|
||||
|
||||
@@ -278,6 +278,14 @@ public final class ImsCallProfile implements Parcelable {
|
||||
public static final String EXTRA_ADDITIONAL_SIP_INVITE_FIELDS =
|
||||
"android.telephony.ims.extra.ADDITIONAL_SIP_INVITE_FIELDS";
|
||||
|
||||
/**
|
||||
* CallDisconnectCause: Specify call disconnect cause. This extra should be a code
|
||||
* corresponding to ImsReasonInfo and should only be populated in the case that the
|
||||
* call has already been missed
|
||||
*/
|
||||
public static final String EXTRA_CALL_DISCONNECT_CAUSE =
|
||||
"android.telephony.ims.extra.CALL_DISCONNECT_CAUSE";
|
||||
|
||||
/**
|
||||
* Extra key which the RIL can use to indicate the radio technology used for a call.
|
||||
* Valid values are:
|
||||
|
||||
Reference in New Issue
Block a user