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

Commit 81e87bd8 authored by Brad Ebinger's avatar Brad Ebinger Committed by Automerger Merge Worker
Browse files

Merge "CLIR, CLIP: Send complete message in case of CDMA" am: e8e8b36f am:...

Merge "CLIR, CLIP: Send complete message in case of CDMA" am: e8e8b36f am: a13da07f am: e885e32b

Change-Id: Ie96df89c3f1df0fe281ec8f45d96bda749f084c4
parents 2348f2a5 e885e32b
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -82,6 +82,7 @@ import android.util.Pair;

import com.android.ims.ImsManager;
import com.android.internal.annotations.VisibleForTesting;
import com.android.internal.telephony.CommandException;
import com.android.internal.telephony.cdma.CdmaMmiCode;
import com.android.internal.telephony.cdma.CdmaSubscriptionSourceManager;
import com.android.internal.telephony.dataconnection.DataEnabledSettings;
@@ -2251,6 +2252,9 @@ public class GsmCdmaPhone extends Phone {
            mCi.getCLIR(onComplete);
        } else {
            loge("getOutgoingCallerIdDisplay: not possible in CDMA");
            AsyncResult.forMessage(onComplete, null,
                    new CommandException(CommandException.Error.REQUEST_NOT_SUPPORTED));
            onComplete.sendToTarget();
        }
    }

@@ -2270,6 +2274,9 @@ public class GsmCdmaPhone extends Phone {
                    obtainMessage(EVENT_SET_CLIR_COMPLETE, commandInterfaceCLIRMode, 0, onComplete));
        } else {
            loge("setOutgoingCallerIdDisplay: not possible in CDMA");
            AsyncResult.forMessage(onComplete, null,
                    new CommandException(CommandException.Error.REQUEST_NOT_SUPPORTED));
            onComplete.sendToTarget();
        }
    }

@@ -2285,6 +2292,9 @@ public class GsmCdmaPhone extends Phone {
            mCi.queryCLIP(onComplete);
        } else {
            loge("queryCLIP: not possible in CDMA");
            AsyncResult.forMessage(onComplete, null,
                    new CommandException(CommandException.Error.REQUEST_NOT_SUPPORTED));
            onComplete.sendToTarget();
        }
    }