ambient: Close UI when unlock screen
When the secondary user logs in, the OnLockStateChanged() was returned due to the Ambient mode is not allowed, therefore the ambient UI is not closed. This patch moves the close ui logic before the ambient enabled check. Bug: 1136302 Test: Added new unittest Change-Id: I2d9c93087b8e8139936271db2a797f6322bb55ba Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2462246Reviewed-by:Xiaohui Chen <xiaohuic@chromium.org> Commit-Queue: Tao Wu <wutao@chromium.org> Cr-Commit-Position: refs/heads/master@{#815463}
Showing
Please register or sign in to comment