turn off firmware update test code

1.2-legacy
Kevin Hester 2020-10-21 17:53:37 +08:00
rodzic f8e6f105e2
commit 2b3a987f31
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -204,8 +204,7 @@ class SoftwareUpdateService : JobIntentService(), Logging {
val deviceVersion =
verStringToInt(if (swVer.isEmpty() || swVer == "unset") "99.99.99" else swVer)
// (curVer > deviceVersion) && (deviceVersion >= minVer)
true
(curVer > deviceVersion) && (deviceVersion >= minVer)
} catch (ex: Exception) {
errormsg("Error finding swupdate info", ex)
false // If we fail parsing our update info