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

Commit 36e3fae9 authored by Shishir Agrawal's avatar Shishir Agrawal Committed by Android (Google) Code Review
Browse files

Merge "IsimUiccRecords: Do not set radio power off if not required on REFRESH reset." into lmp-dev

parents 38bbd523 d6058f11
Loading
Loading
Loading
Loading
+10 −8
Original line number Diff line number Diff line
@@ -368,6 +368,7 @@ public final class IsimUiccRecords extends IccRecords implements IsimRecords {
            case IccRefreshResponse.REFRESH_RESULT_RESET:
                if (DBG) log("handleIsimRefresh with REFRESH_RESULT_RESET");
                // need to reload all files (that we care about)
                if (requirePowerOffOnSimRefreshReset()) {
                    mCi.setRadioPower(false, null);
                    /* Note: no need to call setRadioPower(true).  Assuming the desired
                    * radio power state is still ON (as tracked by ServiceStateTracker),
@@ -376,6 +377,7 @@ public final class IsimUiccRecords extends IccRecords implements IsimRecords {
                    * desired power state has changed in the interim, we don't want to
                    * override it with an unconditional power on.
                    */
                }
                break;

            default: