Update src/dev/oxmc/configprovisioner/BootReceiver.java
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user