Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b96d89cd authored by Bryce Lee's avatar Bryce Lee
Browse files

Add capability to identify phone accounts that are emergency only.

Bug: 24756957
Change-Id: Id26eaa7f6632674f7122b4cd658cbe2bf9b04594
parent 6c8ddfcc
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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.
     */