commit | 9cc02c2e0103b2023fe7b34f9410461db0f6df64 | [log] [tgz] |
---|---|---|
author | Patrick Rohr <prohr@google.com> | Tue Jun 18 07:10:10 2024 -0700 |
committer | Patrick Rohr <prohr@google.com> | Fri Jun 21 08:25:25 2024 -0700 |
tree | 8f351960fb96919ca5adc3a0d1e4a3c1ec26243d | |
parent | 38c6f7d5cee22225e953873e6f6a745f4a925d76 [diff] |
Clean up and document state lifecycle This renames existing states and makes RunningState a child of StartedState. StartedState's purpose is managing the IpClient lifecycle, so when the state machine transitions to RunningState, there is guaranteed to be an IpClient instance. RunningState will then startProvisioning and register a NetworkAgent on provisioning success. Test: builds Change-Id: I7fa41a9be06feaa9cbe78e344242bcedbe91e7ed