Cros: Fix launcher disappearing after screen rotates.
AppListControllerImpl::OnDisplayConfigurationChanged is called when the screen rotates. We recently refactored some visibility functions, this caused the bug. We should check presenters visibility, not the target visibility. Bug: 1012432 Change-Id: I2033484115de22f72fac997258c4013872e2d784 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1861154 Commit-Queue: Alex Newcomer <newcomer@chromium.org> Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#706229}
Showing
Please register or sign in to comment