ProvisioningService: disable PawletSetupWizard when setup wizard is off
Add me.pawlet.setupwizard to the list of packages disabled when enable_setupwizard=false. Remove org.lineageos.setupwizard (not shipped). Update README to reflect real default config APK URL.
This commit is contained in:
@@ -401,9 +401,9 @@ public class ProvisioningService extends Service {
|
||||
boolean enable = VendorConfig.isSetupWizardEnabled();
|
||||
Log.i(TAG, "Setup wizard: " + (enable ? "ENABLED" : "DISABLED"));
|
||||
if (!enable) {
|
||||
disablePackage("me.pawlet.setupwizard");
|
||||
disablePackage("com.android.setupwizard");
|
||||
disablePackage("com.google.android.setupwizard");
|
||||
disablePackage("org.lineageos.setupwizard");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user