Bug 1880328 - Fix state checking issues
commitcce2569221c3b414495f079d3f110cdaf9b1bb71
authorBen Dean-Kawamura <bdk@mozilla.com>
Wed, 14 Feb 2024 16:21:41 +0000 (14 11:21 -0500)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 14 Feb 2024 20:04:38 +0000 (14 20:04 +0000)
tree7950a2232315fbf371e5d3da11c6ac36e6e79484
parent9bc2c9078144f8d7964a92cf12cadeea9120e0d0
Bug 1880328 - Fix state checking issues

- Send EnsureCapabilitiesAuthError to the state machine checker, which was
  created exactly for this case.
- Handle the CancelAuth event rather than letting it fall to the `else`
  case and ignore it.
mobile/android/android-components/components/service/firefox-accounts/src/main/java/mozilla/components/service/fxa/FxaDeviceConstellation.kt
mobile/android/android-components/components/service/firefox-accounts/src/main/java/mozilla/components/service/fxa/manager/AppServicesStateMachineChecker.kt