[roll] Roll fuchsia [recovery-fdr] Add AwaitingReset state

In order to prevent multiple calls to factory_reset due to button
presses after the countdown finishes, this change adds an AwaitingReset
state which ignores button presses with respect to the FDR state
machine.

An error in the factory_reset call will print instructions indicating
that the user should restart their device and try again, so leaving the
state locked in at AwaitingReset aligns with the messaging.

Original-Bug: b/300686565
Test: fx test fdr_lib_unittests
Test: Verified behavior in both success and error cases on device
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/920947
Original-Revision: 9b58fe29ce2ccf6154e902bbd12f9023adc86e99
GitOrigin-RevId: de3371012640cfc30a2aa3e1a31e4a909e7586ee
Change-Id: Ic1c4f3a4738f02e9fe019ec46b68df3aaa408c65
1 file changed
tree: db6582fec4c0acead3549dc50bb063138bb94d34
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.