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:
oxmc
2026-06-16 07:47:36 -07:00
parent 792a397cde
commit 590f38f028
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ enable_configapk_service=true
device_provisioned=true
enable_setupwizard=false
config_apk_package=app.pawlet.config
config_apk_url=https://example.com/pawlet_config.apk
config_apk_url=https://oxmc.me/aosp_apis/data/default-config.apk
```
## Config APK format

View File

@@ -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");
}
}