fix: updater caused by filename change
This commit is contained in:
parent
701a2462e2
commit
4f7491d222
@ -137,7 +137,7 @@ public class InternalUpdater {
|
||||
try {
|
||||
TLRPC.messages_Messages res = (TLRPC.messages_Messages) response;
|
||||
FileLog.d("Retrieve update messages, size:" + res.messages.size());
|
||||
final String target = metadata.versionName + "(" + metadata.versionCode + ")" + "-" + BuildConfig.FLAVOR + "-" + FileUtil.getAbi() + "-" + ("debug".equals(BuildConfig.BUILD_TYPE) ? "release" : BuildConfig.BUILD_TYPE) + ".apk";
|
||||
final String target = metadata.versionName + "(" + metadata.versionCode + ")" + "-" + BuildConfig.FLAVOR + "-" + FileUtil.getAbi() + ".apk";
|
||||
for (int i = 0; i < res.messages.size(); i++) {
|
||||
if (res.messages.get(i).media == null) continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user