turn off firmware update test code

This commit is contained in:
Kevin Hester
2020-10-21 17:53:37 +08:00
parent f8e6f105e2
commit 2b3a987f31

View File

@@ -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