Loading src/java/com/android/internal/telephony/GsmCdmaPhone.java +10 −0 Original line number Diff line number Diff line Loading @@ -83,6 +83,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; Loading Loading @@ -2226,6 +2227,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(); } } Loading @@ -2245,6 +2249,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(); } } Loading @@ -2260,6 +2267,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(); } } Loading Loading
src/java/com/android/internal/telephony/GsmCdmaPhone.java +10 −0 Original line number Diff line number Diff line Loading @@ -83,6 +83,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; Loading Loading @@ -2226,6 +2227,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(); } } Loading @@ -2245,6 +2249,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(); } } Loading @@ -2260,6 +2267,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(); } } Loading