assistant: Fix mic button doesn't work with fake gaia account.
|Service| stores the current account info and later registered as a session activation observer for this account, so that it can enable listening when the session becomes active. Previously when the login account was a fake gaia account, e.g. in Tast tests, we did not update the stored account info with the latest primary account when requesting access token. In this way, |Service| couldn't receive any session active signals because it was not observing a valid account. Bug: b/147442943 Test: run the service in signed-out mode and manually verified. Change-Id: Iaaef86303686291b419754505ead9b14cca0adbc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2033642 Commit-Queue: Meilin Wang <meilinw@chromium.org> Reviewed-by:Xiaohui Chen <xiaohuic@chromium.org> Reviewed-by:
Tao Wu <wutao@chromium.org> Cr-Commit-Position: refs/heads/master@{#740818}
Showing
Please register or sign in to comment