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

Commit 3c9f76db authored by arunvoddu's avatar arunvoddu
Browse files

Version check correction from HAL_SERVICE_RADIO to HAL_SERVICE_SIM

Bug: 266023325
Test: atest frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony
Change-Id: I090b7e7a677cccd3a37982eb1d40e5d147412298
parent 083adb73
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4948,7 +4948,7 @@ public class RIL extends BaseCommands implements CommandsInterface {
    @Override
    public boolean canToggleUiccApplicationsEnablement() {
        return !getRadioServiceProxy(RadioSimProxy.class, null).isEmpty()
                && mHalVersion.get(HAL_SERVICE_RADIO).greaterOrEqual(RADIO_HAL_VERSION_1_5);
                && mHalVersion.get(HAL_SERVICE_SIM).greaterOrEqual(RADIO_HAL_VERSION_1_5);
    }

    @Override