0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-23 19:55:11 +00:00

No Youtube Crash Fix

This commit is contained in:
ostajic 2020-08-25 05:46:25 +02:00
parent c44690e530
commit 8ab16e161f

View file

@ -127,7 +127,8 @@ class VancedDownloadService: Service() {
private fun downloadStockCheck():Boolean private fun downloadStockCheck():Boolean
{ {
return getPkgVerCode(yPkg, packageManager) != vancedVersionCode
return try {getPkgVerCode(yPkg, packageManager) != vancedVersionCode}catch (e: Exception) {true}
} }
suspend fun getSha256(obj: String) { suspend fun getSha256(obj: String) {
sha256Val = InternetTools.getJsonString(hashUrl,obj,applicationContext) sha256Val = InternetTools.getJsonString(hashUrl,obj,applicationContext)