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

Commit 0ab6d8cd 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

am: 4b77bcac

Change-Id: I1be7c64d00f80e9f14c2504ebd69cad5da6671c8
parents cac0df1f 4b77bcac
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;
        }