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

Commit b7c51828 authored by cretin45's avatar cretin45
Browse files

SetupWizard: Ensure setup complete flags are set for secondary users

Change-Id: If96abdb6ccc52f7049018dcae6576dd1b886fc0f
parent 82bbed9d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -94,6 +94,9 @@ public class SetupWizardApp extends Application {
            if (!isOwner
                    || Settings.Secure.getInt(getContentResolver(),
                    Settings.Secure.USER_SETUP_COMPLETE) == 1) {
                Settings.Global.putInt(getContentResolver(), Settings.Global.DEVICE_PROVISIONED, 1);
                Settings.Secure.putInt(getContentResolver(),
                        Settings.Secure.USER_SETUP_COMPLETE, 1);
                SetupWizardUtils.disableGMSSetupWizard(this);
                SetupWizardUtils.disableSetupWizard(this);
                if (!isOwner) {