From b96d89cd342ad5c3a55d620e2f8922e2fed152e7 Mon Sep 17 00:00:00 2001 From: Bryce Lee Date: Wed, 14 Oct 2015 16:48:40 -0700 Subject: Add capability to identify phone accounts that are emergency only. Bug: 24756957 Change-Id: Id26eaa7f6632674f7122b4cd658cbe2bf9b04594 --- telecomm/java/android/telecom/PhoneAccount.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'telecomm/java') diff --git a/telecomm/java/android/telecom/PhoneAccount.java b/telecomm/java/android/telecom/PhoneAccount.java index cdb0bf2..b64043c 100644 --- a/telecomm/java/android/telecom/PhoneAccount.java +++ b/telecomm/java/android/telecom/PhoneAccount.java @@ -121,6 +121,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. + *

+ * See {@link #getCapabilities} + * @hide + */ + public static final int CAPABILITY_EMERGENCY_CALLS_ONLY = 0x80; + + /** * URI scheme for telephone number URIs. */ public static final String SCHEME_TEL = "tel"; -- cgit v1.1