|
|
|
@ -77,10 +77,6 @@ object CronetLoader : CronetEngine.Builder.LibraryLoader() { |
|
|
|
|
* 预加载Cronet |
|
|
|
|
*/ |
|
|
|
|
fun preDownload() { |
|
|
|
|
if (AppConfig.isGooglePlay) { |
|
|
|
|
CronetProviderInstaller.installProvider(appCtx) |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
Coroutine.async { |
|
|
|
|
//md5 = getUrlMd5(md5Url) |
|
|
|
|
if (soFile.exists() && md5 == getFileMD5(soFile)) { |
|
|
|
|