Merge "Fix erasing of eSIMs for some devices" into qt-dev
am: 1f942d9857
Change-Id: I04bc60ed040546a64ea157840b76d815169d32a3
This commit is contained in:
@@ -182,8 +182,7 @@ public class MasterClear extends InstrumentedFragment implements OnGlobalLayoutL
|
|||||||
void showFinalConfirmation() {
|
void showFinalConfirmation() {
|
||||||
final Bundle args = new Bundle();
|
final Bundle args = new Bundle();
|
||||||
args.putBoolean(ERASE_EXTERNAL_EXTRA, mExternalStorage.isChecked());
|
args.putBoolean(ERASE_EXTERNAL_EXTRA, mExternalStorage.isChecked());
|
||||||
args.putBoolean(ERASE_ESIMS_EXTRA,
|
args.putBoolean(ERASE_ESIMS_EXTRA, mEsimStorage.isChecked());
|
||||||
mEsimStorageContainer.getVisibility() == View.VISIBLE && mEsimStorage.isChecked());
|
|
||||||
new SubSettingLauncher(getContext())
|
new SubSettingLauncher(getContext())
|
||||||
.setDestination(MasterClearConfirm.class.getName())
|
.setDestination(MasterClearConfirm.class.getName())
|
||||||
.setArguments(args)
|
.setArguments(args)
|
||||||
|
@@ -163,7 +163,7 @@ public class MasterClearTest {
|
|||||||
verify(context).startActivity(intent.capture());
|
verify(context).startActivity(intent.capture());
|
||||||
assertThat(intent.getValue().getBundleExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS)
|
assertThat(intent.getValue().getBundleExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS)
|
||||||
.getBoolean(MasterClear.ERASE_ESIMS_EXTRA, false))
|
.getBoolean(MasterClear.ERASE_ESIMS_EXTRA, false))
|
||||||
.isFalse();
|
.isTrue();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Reference in New Issue
Block a user