trigger provisions on app start

This commit is contained in:
Michael Pöhn 2018-01-23 12:00:25 +01:00
parent 9786fd2550
commit b13e27f759
2 changed files with 3 additions and 2 deletions

View File

@ -410,6 +410,9 @@ public class FDroidApp extends Application {
}
grantUriPermission(packageName, InstallHistoryService.LOG_URI, modeFlags);
}
// find and process provisions if any.
Provisioner.scanAndProcess(getApplicationContext());
}
/**

View File

@ -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() {