SetupWizard: Ensure setup complete flags are set for secondary users
Change-Id: If96abdb6ccc52f7049018dcae6576dd1b886fc0f
This commit is contained in:
parent
82bbed9d9c
commit
b7c51828ed
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user