Fix the issue that AppList shows the rounded corners in fullscreen
AppListView::OnWindowBoundsChanged fills the corners by translating AppListBackgroundShield when AppList shows in HALF state and the virtual keyboard is enabled. However, AppListView::Layout may be called after AppListView::OnWindowBoundsChanged (the side effect of crrev.com/c/1547051) and it resets the view's transform. As a result. the rounded corners show again. Fix this issue by modifying AppListView::UpdateAppListBackgroundYPosition which is always called by AppListView::Layout. Bug: 968698 Change-Id: I7a0852115ea4363c44a51e299af93fc6bc1c4623 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1656161 Commit-Queue: Andrew Xu <andrewxu@chromium.org> Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#668554}
Showing
Please register or sign in to comment