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

Commit 4b77bcac authored by Chen Xu's avatar Chen Xu Committed by android-build-merger
Browse files

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

am: b42bed23

Change-Id: I8985741669c3713c3428d935cd4ee8fbb29ebedb
parents 55e3d762 b42bed23
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;
        }