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

Commit f6219c02 authored by Andrew Sapperstein's avatar Andrew Sapperstein Committed by android-build-merger
Browse files

Merge "Fix erasing of eSIMs for some devices" into qt-dev am: 1f942d98 am: 44f731c1

am: b07cee31

Change-Id: I4e8deaf89a5cb0327e38866b9c205871057fdd92
parents 0eeb83c0 b07cee31
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -182,8 +182,7 @@ public class MasterClear extends InstrumentedFragment implements OnGlobalLayoutL
    void showFinalConfirmation() {
        final Bundle args = new Bundle();
        args.putBoolean(ERASE_EXTERNAL_EXTRA, mExternalStorage.isChecked());
        args.putBoolean(ERASE_ESIMS_EXTRA,
            mEsimStorageContainer.getVisibility() == View.VISIBLE && mEsimStorage.isChecked());
        args.putBoolean(ERASE_ESIMS_EXTRA, mEsimStorage.isChecked());
        new SubSettingLauncher(getContext())
                .setDestination(MasterClearConfirm.class.getName())
                .setArguments(args)
+1 −1
Original line number Diff line number Diff line
@@ -163,7 +163,7 @@ public class MasterClearTest {
        verify(context).startActivity(intent.capture());
        assertThat(intent.getValue().getBundleExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS)
            .getBoolean(MasterClear.ERASE_ESIMS_EXTRA, false))
            .isFalse();
            .isTrue();
    }

    @Test