parent
d751ec6c6d
commit
bd8df9797f
|
|
@ -338,8 +338,6 @@ object UniAppUtils {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun getUniMPOpenConfiguration(): UniMPOpenConfiguration{
|
private fun getUniMPOpenConfiguration(): UniMPOpenConfiguration{
|
||||||
|
|
|
||||||
|
|
@ -46,32 +46,6 @@ object UpdateUtils {
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
.down()
|
.down()
|
||||||
|
|
||||||
/*
|
|
||||||
applicationContext?.let {
|
|
||||||
AutoDownloadManager.startAutoDownload(it, url, destination,object: DownloadListener {
|
|
||||||
override fun onStart(totalSize: Long) {
|
|
||||||
onProgress(0)
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun onProgress(
|
|
||||||
progress: Int,
|
|
||||||
current: Long,
|
|
||||||
total: Long
|
|
||||||
) {
|
|
||||||
onProgress(progress)
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun onSuccess(file: File) {
|
|
||||||
onFinish(true, file.absolutePath)
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun onError(e: Exception) {
|
|
||||||
onFinish(false, null)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue