trigger provisions on app start
This commit is contained in:
parent
9786fd2550
commit
b13e27f759
@ -410,6 +410,9 @@ public class FDroidApp extends Application {
|
|||||||
}
|
}
|
||||||
grantUriPermission(packageName, InstallHistoryService.LOG_URI, modeFlags);
|
grantUriPermission(packageName, InstallHistoryService.LOG_URI, modeFlags);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// find and process provisions if any.
|
||||||
|
Provisioner.scanAndProcess(getApplicationContext());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -467,8 +467,6 @@ public class UpdateService extends IntentService {
|
|||||||
|
|
||||||
long time = System.currentTimeMillis() - startTime;
|
long time = System.currentTimeMillis() - startTime;
|
||||||
Log.i(TAG, "Updating repo(s) complete, took " + time / 1000 + " seconds to complete.");
|
Log.i(TAG, "Updating repo(s) complete, took " + time / 1000 + " seconds to complete.");
|
||||||
|
|
||||||
// TODO provi: this looks like a good spot for adding automated repository provisioning
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void notifyContentProviders() {
|
private void notifyContentProviders() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user