forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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}
- Loading branch information
Meilin Wang
authored and
Commit Bot
committed
Feb 12, 2020
1 parent
64cf44e
commit 75161d9
Showing
2 changed files
with
51 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters