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:
parent
c44690e530
commit
8ab16e161f
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue