Skip to content

Commit 1d87178

Browse files
committed
fix preloadZipUpdate
1 parent 882b0f1 commit 1d87178

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

VideoOS/VenvyLibrary/src/main/java/cn/com/venvy/PreloadZipUpdate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ private void unZipAndReadData(final List<File> zipFiles) {
161161
}
162162
return;
163163
}
164+
VenvyFileUtil.delFolder(VenvyFileUtil.getCachePath(App.getContext()) + LUA_ZIP_CACHE);
164165
VenvyAsyncTaskUtil.doAsyncTask(PARSE_UNZIP, new VenvyAsyncTaskUtil.IDoAsyncTask<File, List<String>>() {
165166

166167
@Override
@@ -184,7 +185,6 @@ public void onPreExecute() {
184185

185186
@Override
186187
public void onPostExecute(List<String> cacheUrls) {
187-
VenvyFileUtil.delFolder(VenvyFileUtil.getCachePath(App.getContext()) + LUA_ZIP_CACHE);
188188
final JSONArray queryArray = new JSONArray();
189189
CacheZipUpdateCallback callback = getCacheLuaUpdateCallback();
190190
for (String cacheUrlPath : cacheUrls) {

0 commit comments

Comments
 (0)