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

Commit dbafc05b authored by arunvoddu's avatar arunvoddu Committed by Arun
Browse files

Build android.hardware.radio.sim.CarrierRestrictions with carrierRestrictionStatus

Passing the carrierRestictionStatus to Modem through RIL#setAllowedCarriers

Flag: EXEMPT bugfix

Bug: 259259410
Test: Manually Verified.
Change-Id: I479f334ea367b0f15c36ae3fbe2eb526db353514
parent 13a2bd54
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -530,6 +530,7 @@ public class RadioSimProxy extends RadioServiceProxy {
            carrierRestrictions.allowedCarriersPrioritized =
                    (carrierRestrictionRules.getDefaultCarrierRestriction()
                            == CarrierRestrictionRules.CARRIER_RESTRICTION_DEFAULT_NOT_ALLOWED);
            carrierRestrictions.status = carrierRestrictionRules.getCarrierRestrictionStatus();
            mSimProxy.setAllowedCarriers(serial, carrierRestrictions,
                    RILUtils.convertToHalSimLockMultiSimPolicyAidl(
                            carrierRestrictionRules.getMultiSimPolicy()));