diff options
Diffstat (limited to 'src/com/cyanogenmod/setupwizard/SetupWizardApp.java')
-rw-r--r-- | src/com/cyanogenmod/setupwizard/SetupWizardApp.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/cyanogenmod/setupwizard/SetupWizardApp.java b/src/com/cyanogenmod/setupwizard/SetupWizardApp.java index 52f1ead..549cb61 100644 --- a/src/com/cyanogenmod/setupwizard/SetupWizardApp.java +++ b/src/com/cyanogenmod/setupwizard/SetupWizardApp.java @@ -61,9 +61,10 @@ public class SetupWizardApp extends Application { try { // Since this is a new component, we need to disable here if the user // has already been through setup on a previous version. - if (SetupWizardUtils.isGuestUser(this) + if (!SetupWizardUtils.isOwner() || Settings.Secure.getInt(getContentResolver(), Settings.Secure.USER_SETUP_COMPLETE) == 1) { + SetupWizardUtils.disableGMSSetupWizard(this); SetupWizardUtils.disableSetupWizard(this); } else { disableCaptivePortalDetection(); |