Merge "Add PhoneAccount capability to indicate if VT uses presence."
This commit is contained in:
@@ -34905,6 +34905,7 @@ package android.telecom {
|
||||
field public static final int CAPABILITY_PLACE_EMERGENCY_CALLS = 16; // 0x10
|
||||
field public static final int CAPABILITY_SIM_SUBSCRIPTION = 4; // 0x4
|
||||
field public static final int CAPABILITY_VIDEO_CALLING = 8; // 0x8
|
||||
field public static final int CAPABILITY_VIDEO_CALLING_RELIES_ON_PRESENCE = 256; // 0x100
|
||||
field public static final android.os.Parcelable.Creator<android.telecom.PhoneAccount> CREATOR;
|
||||
field public static final java.lang.String EXTRA_CALL_SUBJECT_CHARACTER_ENCODING = "android.telecom.extra.CALL_SUBJECT_CHARACTER_ENCODING";
|
||||
field public static final java.lang.String EXTRA_CALL_SUBJECT_MAX_LENGTH = "android.telecom.extra.CALL_SUBJECT_MAX_LENGTH";
|
||||
|
||||
@@ -37143,6 +37143,7 @@ package android.telecom {
|
||||
field public static final int CAPABILITY_PLACE_EMERGENCY_CALLS = 16; // 0x10
|
||||
field public static final int CAPABILITY_SIM_SUBSCRIPTION = 4; // 0x4
|
||||
field public static final int CAPABILITY_VIDEO_CALLING = 8; // 0x8
|
||||
field public static final int CAPABILITY_VIDEO_CALLING_RELIES_ON_PRESENCE = 256; // 0x100
|
||||
field public static final android.os.Parcelable.Creator<android.telecom.PhoneAccount> CREATOR;
|
||||
field public static final java.lang.String EXTRA_CALL_SUBJECT_CHARACTER_ENCODING = "android.telecom.extra.CALL_SUBJECT_CHARACTER_ENCODING";
|
||||
field public static final java.lang.String EXTRA_CALL_SUBJECT_MAX_LENGTH = "android.telecom.extra.CALL_SUBJECT_MAX_LENGTH";
|
||||
|
||||
@@ -34907,6 +34907,7 @@ package android.telecom {
|
||||
field public static final int CAPABILITY_PLACE_EMERGENCY_CALLS = 16; // 0x10
|
||||
field public static final int CAPABILITY_SIM_SUBSCRIPTION = 4; // 0x4
|
||||
field public static final int CAPABILITY_VIDEO_CALLING = 8; // 0x8
|
||||
field public static final int CAPABILITY_VIDEO_CALLING_RELIES_ON_PRESENCE = 256; // 0x100
|
||||
field public static final android.os.Parcelable.Creator<android.telecom.PhoneAccount> CREATOR;
|
||||
field public static final java.lang.String EXTRA_CALL_SUBJECT_CHARACTER_ENCODING = "android.telecom.extra.CALL_SUBJECT_CHARACTER_ENCODING";
|
||||
field public static final java.lang.String EXTRA_CALL_SUBJECT_MAX_LENGTH = "android.telecom.extra.CALL_SUBJECT_MAX_LENGTH";
|
||||
|
||||
@@ -155,6 +155,20 @@ public final class PhoneAccount implements Parcelable {
|
||||
*/
|
||||
public static final int CAPABILITY_EMERGENCY_CALLS_ONLY = 0x80;
|
||||
|
||||
/**
|
||||
* Flag indicating that for this {@code PhoneAccount}, the ability to make a video call to a
|
||||
* number relies on presence. Should only be set if the {@code PhoneAccount} also has
|
||||
* {@link #CAPABILITY_VIDEO_CALLING}.
|
||||
* <p>
|
||||
* When set, the {@link ConnectionService} is responsible for toggling the
|
||||
* {@link android.provider.ContactsContract.Data#CARRIER_PRESENCE_VT_CAPABLE} bit on the
|
||||
* {@link android.provider.ContactsContract.Data#CARRIER_PRESENCE} column to indicate whether
|
||||
* a contact's phone number supports video calling.
|
||||
* <p>
|
||||
* See {@link #getCapabilities}
|
||||
*/
|
||||
public static final int CAPABILITY_VIDEO_CALLING_RELIES_ON_PRESENCE = 0x100;
|
||||
|
||||
/**
|
||||
* URI scheme for telephone number URIs.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user