Move shutdown/reboot handling to manager (#22882)

* Move shutdown/reboot handling to manager

* more logging

* check enagaged

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 07ff72472636237d7c47addfce4d8bbbda98e9d2
This commit is contained in:
Willem Melching
2021-11-12 18:10:34 +01:00
committed by GitHub
parent bf03231af5
commit bb8d0aa76d
3 changed files with 36 additions and 8 deletions
+2
View File
@@ -100,6 +100,8 @@ std::unordered_map<std::string, uint32_t> keys = {
{"DisableRadar", PERSISTENT}, // WARNING: THIS DISABLES AEB
{"DisableUpdates", PERSISTENT},
{"DongleId", PERSISTENT},
{"DoReboot", CLEAR_ON_MANAGER_START},
{"DoShutdown", CLEAR_ON_MANAGER_START},
{"DoUninstall", CLEAR_ON_MANAGER_START},
{"EnableWideCamera", CLEAR_ON_MANAGER_START},
{"EndToEndToggle", PERSISTENT},