Fix Legacy Texture cannot refresh in cache

This commit is contained in:
Alexander Xia committed 2018-07-12 15:18:13 +08:00
1 parent a36eca2a53
commit f4030701ee
1 file changed
+2 -2
@@ -56,12 +56,12 @@ public class HttpTextureUtil {
fakeUrl=fakeUrl.replace(LEGACY_MARK, "");
info.url=fakeUrl;
info.hash=DigestUtils.sha1Hex(info.url);
info.cacheFile=HttpTextureUtil.getCacheFile(info.hash);
info.cacheFile = HttpRequestUtil.getCacheFile(info.hash);
return info;
}
return info;
}
public static String getLegacyFakeUrl(String url){
return LEGACY_MARK+url;
}