Descriptionash: Fix system tray avatar not updated regression
This is caused by racing between mojo and non-mojo code path.
The avater image is updated via SessionController mojo interface
but UserObserver interface is still a direct call and could reach
ash before the mojo message. The CL fixes the issue by replacing
UserObserver interface with SessionController observer.
BUG=704862
Review-Url: https://codereview.chromium.org/2780963002
Cr-Commit-Position: refs/heads/master@{#460571}
Committed: https://chromium.googlesource.com/chromium/src/+/d24a096f2db3e68da5d48df57a75cf643da1e178
Patch Set 1 #
Total comments: 5
Patch Set 2 : add a test #
Total comments: 3
Patch Set 3 : resized_ -> resized_image_ #Messages
Total messages: 19 (12 generated)
|