Skip to content

Commit 88f038b

Browse files
committed
change HttpProxyCacheServer
1 parent 566596e commit 88f038b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

VideoOS/VenvyLibrary/src/main/java/cn/com/venvy/common/media/HttpProxyCacheServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public boolean isCached(String url) {
168168
if (info == null) {
169169
return false;
170170
}
171-
return info.status == DownloadDbHelper.DownloadStatus.DOWNLOAD_SUCCESS;
171+
return info.status == DownloadDbHelper.DownloadStatus.DOWNLOAD_SUCCESS&&getCacheFile(url).exists();
172172
// return getCacheFile(url).exists();
173173
}
174174

0 commit comments

Comments
 (0)