Update src/dev/oxmc/configprovisioner/BootReceiver.java

This commit is contained in:
2025-08-23 02:47:51 -07:00
parent 30d2aeabb5
commit c7a1050353

View File

@@ -25,14 +25,7 @@ public class BootReceiver extends BroadcastReceiver {
return; return;
} }
// Check if vendor config exists - if not, exit gracefully // Start provisioning service, it will check vendor config & defaults
if (!VendorConfig.hasVendorConfig()) {
Log.i(TAG, "No vendor config found, provisioning not required");
setProvisioned(context, true); // Mark as provisioned to not run again
return;
}
// Start provisioning service
Intent serviceIntent = new Intent(context, ProvisioningService.class); Intent serviceIntent = new Intent(context, ProvisioningService.class);
serviceIntent.setAction(intent.getAction()); serviceIntent.setAction(intent.getAction());
context.startService(serviceIntent); context.startService(serviceIntent);