Revert "assistant: Fix mic button doesn't work with fake gaia account."
This reverts commit 75161d96. Reason for revert: Tentative suspect for DriveIntegrationServiceWithGaiaDisabledBrowserTest.DriveDisabled linux-chromeos-chrome browser_test failure https://ci.chromium.org/p/chrome/builders/ci/linux-chromeos-chrome/3090 Original change's description: > 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} TBR=xiaohuic@chromium.org,wutao@chromium.org,meilinw@chromium.org Change-Id: I0c369b2ec7b41207cd1bb4d7e1953f758136f887 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: b/147442943 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2053164Reviewed-by:Kristi Park <kristipark@chromium.org> Commit-Queue: Kristi Park <kristipark@chromium.org> Cr-Commit-Position: refs/heads/master@{#740892}
Showing
Please register or sign in to comment