mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-05-19 05:55:04 -04:00
trigger provisions on app start
This commit is contained in:
@@ -410,6 +410,9 @@ public class FDroidApp extends Application {
|
||||
}
|
||||
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;
|
||||
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() {
|
||||
|
||||
Reference in New Issue
Block a user