CrOS GMC: Add a timer for updating artwork.
This CL adds a |hide_artwork_timer_| which makes the artwork view wait for a certain delay to disappear when receiving an empty artwork. This avoid flashing relayout between sessions when loading artwork. (e.g. Getting an empty artwork in a new session, and artwork comes in later because of slow network, which will makes the artwork view disappear and reappear.) Bug: 1128883 Change-Id: Iae6693af7dc6d21559c9f9a8190169b23b9cab35 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2427586Reviewed-by:Tetsui Ohkubo <tetsui@chromium.org> Reviewed-by:
Tommy Steimel <steimel@chromium.org> Commit-Queue: Jazz Xu <jazzhsu@chromium.org> Cr-Commit-Position: refs/heads/master@{#811743}
Showing
Please register or sign in to comment