Commit 767cf4b8 authored by Grisha Kruglov's avatar Grisha Kruglov
Browse files

Post: changelog; add a follow-up around persisting the state

parent f1753c33
......@@ -233,6 +233,10 @@ open class FxaAccountManager(
// list, although that's probably an overkill.
@Volatile private lateinit var account: OAuthAccount
@Volatile private var profile: Profile? = null
// We'd like to persist this state, so that we can short-circuit transition to AuthenticationProblem on
// initialization, instead of triggering the full state machine knowing in advance we'll hit auth problems.
// See
@Volatile private var state = AccountState.Start
private val eventQueue = ConcurrentLinkedQueue<Event>()
......@@ -18,6 +18,10 @@ permalink: /changelog/
* **feature-prompts** and **feature-downloads**
* Fix [issue #6439]( "Crash when downloading Image"
* **service-firefox-accounts**
* Account profile cache is now used, removing a network call from most instances of account manager instantiation.
* Fixed a bug where account would disappear after restarting an app which hit authentication problems.
# 22.0.0
* [Commits](
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment