mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-22 08:43:54 +08:00
Only show update alert if updater failed once since reboot (#1078)
* Only show update alert if updater failed * no negetive days in warning message * Also increase failed count when no internet * Only set count to zero on actual update * First run always fails because IsOffroad is not set yet old-commit-hash: a5bd1d2a88173b28bff872c7635a8e126318029d
This commit is contained in:
@@ -93,6 +93,7 @@ keys = {
|
||||
"TermsVersion": [TxType.PERSISTENT],
|
||||
"TrainingVersion": [TxType.PERSISTENT],
|
||||
"UpdateAvailable": [TxType.CLEAR_ON_MANAGER_START],
|
||||
"UpdateFailedCount": [TxType.CLEAR_ON_MANAGER_START],
|
||||
"Version": [TxType.PERSISTENT],
|
||||
"Offroad_ChargeDisabled": [TxType.CLEAR_ON_MANAGER_START, TxType.CLEAR_ON_PANDA_DISCONNECT],
|
||||
"Offroad_ConnectivityNeeded": [TxType.CLEAR_ON_MANAGER_START],
|
||||
|
||||
Reference in New Issue
Block a user