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

Commit 8cfa71dd authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Remove unused config requireRadioPowerOffOnSimRefreshReset

Test: atest UiccControllerTest
Bug: 168712864
Change-Id: Ibcca15397fcb8339ac67e34b4e8c0b8e64b6a5fa
parent ec0babff
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -1168,12 +1168,6 @@ public class UiccController extends Handler {
            CarrierConfigManager configManager = (CarrierConfigManager)
                    mContext.getSystemService(Context.CARRIER_CONFIG_SERVICE);
            configManager.updateConfigForPhoneId(index, IccCardConstants.INTENT_VALUE_ICC_UNKNOWN);

            boolean requirePowerOffOnSimRefreshReset = mContext.getResources().getBoolean(
                    com.android.internal.R.bool.config_requireRadioPowerOffOnSimRefreshReset);
            if (requirePowerOffOnSimRefreshReset) {
                mCis[index].setRadioPower(false, null);
            }
        }

        // The card status could have changed. Get the latest state.