protect new version download
This commit is contained in:
parent
594e6e3193
commit
1649b07faa
1 changed files with 1 additions and 0 deletions
|
@ -189,6 +189,7 @@ public class DownloadWorker extends Worker {
|
||||||
if (DEBUG) Log.d("worker", "check " + f.getName() + " " + thePFversion + "=" + version);
|
if (DEBUG) Log.d("worker", "check " + f.getName() + " " + thePFversion + "=" + version);
|
||||||
if (thePFversion != -1 && thePFversion != version) {
|
if (thePFversion != -1 && thePFversion != version) {
|
||||||
tmpSegementNames.add(f.getName().substring(0, f.getName().indexOf(".")));
|
tmpSegementNames.add(f.getName().substring(0, f.getName().indexOf(".")));
|
||||||
|
versionChanged = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (tmpSegementNames.size() > 0 && (downloadAll != VALUE_SEGMENT_DIFFS && downloadAll != VALUE_SEGMENT_DROPDIFFS)) {
|
if (tmpSegementNames.size() > 0 && (downloadAll != VALUE_SEGMENT_DIFFS && downloadAll != VALUE_SEGMENT_DROPDIFFS)) {
|
||||||
|
|
Loading…
Reference in a new issue