[go: nahoru, domu]

cros: Correctly handle login state on local accounts policy change

Hide Gaia screen when switches from 0 to >0 users, and show the
account picker screen otherwise.

Also remove can_close_ param from ShowGaiaSignin - relies on the user
list now.

Bug: 647451
Change-Id: Iec4e8182b6e07393a10d2336a9818d7d1b2d0b48
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2035670
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Reviewed-by: Denis Kuznetsov [CET] <antrim@chromium.org>
Commit-Queue: Roman Sorokin [CET] <rsorokin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#743971}
22 files changed