only process Repo Push Requests from IndexV1 if they are enabled

This commit is contained in:
Hans-Christoph Steiner 2018-06-28 22:54:26 +02:00
parent d9781d735c
commit 1fe0d8f4b7

View File

@ -335,9 +335,11 @@ public class IndexV1Updater extends RepoUpdater {
repoPersister.commit(contentValues, repo.getId());
profiler.log("Persited to database.");
if (repo.pushRequests == Repo.PUSH_REQUEST_ACCEPT_ALWAYS) {
processRepoPushRequests(requests);
Utils.debugLog(TAG, "Completed Repo Push Requests: " + requests);
}
}
private int getIntRepoValue(Map<String, Object> repoMap, String key) {
Object value = repoMap.get(key);