Fix the issue that hotseat background is not updated after icon removal
The issue is introduced by my previous CL: crrev.com/c/1838993, where the shelf view notifies the parent view of icon removal at the end of fade out animation. However, when removing the app icon by gesture, fade out animation is not created. This CL fixes the issue by calling PreferredSizeChanged() explicitly under such circumstance. Bug: 1012984 Change-Id: I0bd651966b7f1a9ae82496dfe72fe2d4a02ff2ad Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1850730 Commit-Queue: Andrew Xu <andrewxu@chromium.org> Reviewed-by:Manu Cornet <manucornet@chromium.org> Cr-Commit-Position: refs/heads/master@{#704689}
Showing
Please register or sign in to comment