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

Commit d6058f11 authored by Shishir Agrawal's avatar Shishir Agrawal
Browse files

IsimUiccRecords: Do not set radio power off if not required on REFRESH reset.

Bug: 17154939
Change-Id: Ied4709ea8b61a8402211d11bb582feb830ab61d9
parent dc2b5d1c
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: