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

Commit d261c7a6 authored by Michael W's avatar Michael W
Browse files

SetupWizard: Don't show ChooseDataSimActivity on single sim devices

* There is only once choice, no need to ask the user

Change-Id: I5bff265ae7f32679498b3fe9adc568807f12bf6f
parent 69716635
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -250,7 +250,8 @@ public class SetupWizardUtils {
            disableComponent(context, MobileDataActivity.class);
            disableComponent(context, SimMissingActivity.class);
            disableComponent(context, ChooseDataSimActivity.class);
        } else if (!SetupWizardUtils.isMultiSimDevice(context)) {
        }
        if (!SetupWizardUtils.isMultiSimDevice(context)) {
            disableComponent(context, ChooseDataSimActivity.class);
        } else if (simMissing()) {
            disableComponent(context, MobileDataActivity.class);