mirror of https://github.com/alibaba/MNN.git
Compare commits
4 Commits
12a0bded42
...
a672c1ce33
| Author | SHA1 | Date |
|---|---|---|
|
|
a672c1ce33 | |
|
|
a342efa982 | |
|
|
d9cfc63302 | |
|
|
30b463fe52 |
Binary file not shown.
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 70 KiB |
|
|
@ -181,7 +181,7 @@ class ModelDownloadManager private constructor(private val context: Context) {
|
|||
if (getDownloadedFile(modelId) != null) {
|
||||
downloadInfo.downlodaState = DownloadInfo.DownloadSate.COMPLETED
|
||||
downloadInfo.progress = 1.0
|
||||
} else if (getDownloadSizeTotal(ApplicationProvider.get(), modelId) > 0) {
|
||||
} else if (getDownloadSizeSaved(ApplicationProvider.get(), modelId) > 0) {
|
||||
val totalSize = getDownloadSizeTotal(ApplicationProvider.get(), modelId)
|
||||
val savedSize = getDownloadSizeSaved(ApplicationProvider.get(), modelId)
|
||||
downloadInfo.totalSize = totalSize
|
||||
|
|
|
|||
Loading…
Reference in New Issue