Update src/dev/oxmc/configprovisioner/BootReceiver.java
This commit is contained in:
@@ -25,14 +25,7 @@ public class BootReceiver extends BroadcastReceiver {
|
||||
return;
|
||||
}
|
||||
|
||||
// Check if vendor config exists - if not, exit gracefully
|
||||
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
|
||||
// Start provisioning service, it will check vendor config & defaults
|
||||
Intent serviceIntent = new Intent(context, ProvisioningService.class);
|
||||
serviceIntent.setAction(intent.getAction());
|
||||
context.startService(serviceIntent);
|
||||
|
Reference in New Issue
Block a user