Add parameter to check live

This commit is contained in:
Victor Shcherb 2018-09-05 00:56:45 +02:00
parent c6f3f7afda
commit fcd1f99ca7

View file

@ -238,7 +238,7 @@ public class DownloadActivityType {
if(this == LIVE_UPDATES_FILE && fileName.length() > 16) {
// DATE_AND_EXT_STR_LEN = "_18_06_02.obf.gz".length()
String region = fileName.substring(0, fileName.length() - 16).toLowerCase();
url += "&region" + encode(region);
url += "&region=" + encode(region);
}
return url;
}