Add capability to identify phone accounts that are emergency only.

Bug: 24756957
Change-Id: Id26eaa7f6632674f7122b4cd658cbe2bf9b04594
This commit is contained in:
Bryce Lee
2015-10-14 16:48:40 -07:00
parent 6c8ddfcc5a
commit b96d89cd34

View File

@@ -120,6 +120,14 @@ public final class PhoneAccount implements Parcelable {
*/
public static final int CAPABILITY_CALL_SUBJECT = 0x40;
/**
* Flag indicating that this {@code PhoneAccount} should only be used for emergency calls.
* <p>
* See {@link #getCapabilities}
* @hide
*/
public static final int CAPABILITY_EMERGENCY_CALLS_ONLY = 0x80;
/**
* URI scheme for telephone number URIs.
*/