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

Commit b42bed23 authored by Chen Xu's avatar Chen Xu Committed by Android (Google) Code Review
Browse files

Merge "fix CTS failure for getNeighboringCellInfo" into oc-dev

parents 8e8c1ccb 447f1b35
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -494,6 +494,11 @@ public final class RIL extends BaseCommands implements CommandsInterface {
    private IRadio getRadioProxy(Message result) {
        if (!mIsMobileNetworkSupported) {
            if (RILJ_LOGV) riljLog("getRadioProxy: Not calling getService(): wifi-only");
            if (result != null) {
                AsyncResult.forMessage(result, null,
                        CommandException.fromRilErrno(RADIO_NOT_AVAILABLE));
                result.sendToTarget();
            }
            return null;
        }

@@ -535,6 +540,11 @@ public final class RIL extends BaseCommands implements CommandsInterface {
    private IOemHook getOemHookProxy(Message result) {
        if (!mIsMobileNetworkSupported) {
            if (RILJ_LOGV) riljLog("getOemHookProxy: Not calling getService(): wifi-only");
            if (result != null) {
                AsyncResult.forMessage(result, null,
                        CommandException.fromRilErrno(RADIO_NOT_AVAILABLE));
                result.sendToTarget();
            }
            return null;
        }