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

Commit e62075e9 authored by Tyler Gunn's avatar Tyler Gunn Committed by android-build-merger
Browse files

Merge "Add hidden capability to indicate account supports emergency video...

Merge "Add hidden capability to indicate account supports emergency video calls." into nyc-dev am: 53c76457
am: aafadb5f

* commit 'aafadb5f':
  Add hidden capability to indicate account supports emergency video calls.

Change-Id: I870498f57eebcc8a199e9ab68f993241bf90f525
parents 8bd03c95 aafadb5f
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -169,6 +169,15 @@ public final class PhoneAccount implements Parcelable {
     */
    public static final int CAPABILITY_VIDEO_CALLING_RELIES_ON_PRESENCE = 0x100;

    /**
     * Flag indicating that for this {@link PhoneAccount}, emergency video calling is allowed.
     * <p>
     * When set, Telecom will allow emergency video calls to be placed.  When not set, Telecom will
     * convert all outgoing video calls to emergency numbers to audio-only.
     * @hide
     */
    public static final int CAPABILITY_EMERGENCY_VIDEO_CALLING = 0x200;

    /**
     * URI scheme for telephone number URIs.
     */
@@ -731,6 +740,9 @@ public final class PhoneAccount implements Parcelable {
        if (hasCapabilities(CAPABILITY_PLACE_EMERGENCY_CALLS)) {
            sb.append("PlaceEmerg ");
        }
        if (hasCapabilities(CAPABILITY_EMERGENCY_VIDEO_CALLING)) {
            sb.append("EmergVideo ");
        }
        if (hasCapabilities(CAPABILITY_SIM_SUBSCRIPTION)) {
            sb.append("SimSub ");
        }