mark the EC as ready at the conclusion of all update activity

by marking the EC as ready after all the update checks are done
we can ensure that the PDDB mount dialog does not attempt to come
up during an EC update.
This commit is contained in:
bunnie 2023-12-07 01:30:33 +08:00
parent 5bff1f6c46
commit 6c39534a7b

View file

@ -616,6 +616,8 @@ fn wrapped_main() -> ! {
if soc_updated {
log::info!("Soc update was triggered, UX flow should be running now...");
}
// now that all the auto-update interaction is done, set the EC is ready flag
llio.set_ec_ready(true);
// now that all the auto-update interaction is done, exit the gutter server. From
// this point forward, messages will pile up in the status queue, until the main loop starts.
send_message(cb_cid, Message::new_blocking_scalar(