diff options
| author | 2015-10-16 22:29:32 +0000 | |
|---|---|---|
| committer | 2015-10-16 22:29:32 +0000 | |
| commit | b70426b197c373ccd8ab46c080fedf66e43d52e3 (patch) | |
| tree | aa5638efcef6ab5c6d01acc52559d8aa1b5ff357 | |
| parent | c85315acdf028d09b178e2c9a6ec66374652894a (diff) | |
| parent | 4c9fcd5412a190c6e73f25346cf13c67286fa01e (diff) | |
am 4c9fcd54: Merge "Add capability to identify phone accounts that are emergency only." into cw-e-dev
* commit '4c9fcd5412a190c6e73f25346cf13c67286fa01e':
Add capability to identify phone accounts that are emergency only.
| -rw-r--r-- | telecomm/java/android/telecom/PhoneAccount.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/PhoneAccount.java b/telecomm/java/android/telecom/PhoneAccount.java index cdb0bf257baa..b64043c6e07a 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. + * <p> + * 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"; |