Add reason code used to tell dialer when call failed due to WFC being off.

am: 6adbd2bf5f

Change-Id: Id175a279bed0e80115abf1b2043a0fc1472d49f1
This commit is contained in:
Tyler Gunn
2016-12-12 17:17:21 +00:00
committed by android-build-merger

View File

@ -75,6 +75,14 @@ public final class DisconnectCause implements Parcelable {
*/
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 CharSequence mDisconnectLabel;
private CharSequence mDisconnectDescription;