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

Commit d70716ce authored by arunvoddu's avatar arunvoddu
Browse files

Fixed the RADIO HAL version check to update the carrierLockInfo variable.

Setting the variable true if the version is greaterthan or equal to 2.2

Flag: EXEMPT bugfix
Bug: 359450368
Test: Verified manually
Change-Id: Id5c1e3508dace79f5bb218479b6d21e2b15575f4
parent 32b015b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ public class SimResponse extends IRadioSimResponse.Stub {
            android.hardware.radio.sim.CarrierRestrictions carrierRestrictions,
            int multiSimPolicy) {
        RILRequest rr = mRil.processResponse(HAL_SERVICE_SIM, responseInfo);
        boolean carrierLockInfoSupported = mRil.getHalVersion(HAL_SERVICE_SIM).greater(
        boolean carrierLockInfoSupported = mRil.getHalVersion(HAL_SERVICE_SIM).greaterOrEqual(
                RIL.RADIO_HAL_VERSION_2_2);
        if (rr == null) {
            return;