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

Commit a5fa7cfe authored by terrycrhuang's avatar terrycrhuang Committed by Terry Huang
Browse files

Reset radio hal version after mock modem disconnect

Bug: 211959084
Test: Execute CTS mock modem test and the device could go back the original HAL connection.

Change-Id: Id97fd490bc6e677de9fc28d46a5ffbce2381f7a9
parent 6d3a1e48
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -536,6 +536,7 @@ public class RIL extends BaseCommands implements CommandsInterface {
            }

            if (mMockModem != null) {
                mRadioVersion = RADIO_HAL_VERSION_UNKNOWN;
                for (int service = MIN_SERVICE_IDX; service <= MAX_SERVICE_IDX; service++) {
                    mMockModem.unbindMockModemService(service);
                    resetProxyAndRequestList(service);