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

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

Add reason code used to tell dialer when call failed due to WFC being off. am: 6adbd2bf

am: 9507a1a7

Change-Id: I135bb3c266ce1f0136ef3a9413942bf9d8fa1fe7
parents d44708e2 9507a1a7
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -75,6 +75,14 @@ public final class DisconnectCause implements Parcelable {
     */
     */
    public static final int CALL_PULLED = 12;
    public static final int CALL_PULLED = 12;


    /**
     * Reason code (returned via {@link #getReason()}) which indicates that a call could not be
     * completed because the cellular radio is off or out of service, the device is connected to
     * a wifi network, but the user has not enabled wifi calling.
     * @hide
     */
    public static final String REASON_WIFI_ON_BUT_WFC_OFF = "REASON_WIFI_ON_BUT_WFC_OFF";

    private int mDisconnectCode;
    private int mDisconnectCode;
    private CharSequence mDisconnectLabel;
    private CharSequence mDisconnectLabel;
    private CharSequence mDisconnectDescription;
    private CharSequence mDisconnectDescription;