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

Commit b488855b authored by arunvoddu's avatar arunvoddu
Browse files

Fixed ImsiKey delete issue when pSim eject time.

Flag: EXEMPT bugfix
Bug: 366178705
Test: Verified Manually and atest verified
Flag: com.android.internal.telephony.flags.ignore_carrierid_reset_for_sim_removal
Change-Id: I3148a2c5fe92e18b8758deaa1c4fd0bc052a011c
parent 72d8e961
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -69,3 +69,14 @@ flag {
    description: "This flag controls optimization of apdu sender class."
    bug:"335257880"
}

# OWNER=arunvoddu TARGET=24Q4
flag {
    name: "ignore_carrierid_reset_for_sim_removal"
    namespace: "telephony"
    description: "This flag controls the carrierId reset while imsi key deletion time upon sim ejection."
    bug:"366178705"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}
 No newline at end of file
+7 −1
Original line number Diff line number Diff line
@@ -170,7 +170,13 @@ public class CarrierKeyDownloadManager extends Handler {
                                                TelephonyManager.class)
                                        .createForSubscriptionId(subId);
                            }
                            if (Flags.ignoreCarrieridResetForSimRemoval()) {
                                if (carrierId > 0) {
                                    mCarrierId = carrierId;
                                }
                            } else {
                                mCarrierId = carrierId;
                            }
                            updateSimOperator();
                            // If device is screen locked do not proceed to handle
                            // EVENT_ALARM_OR_CONFIG_CHANGE