Don't reset starting layout if no progress has been made.
Resetting the starting layout loses context about views that are fading in our out, causing popping of layouts in some cases (especially during slide animations). Having a layout reset multiple times can happen when one view is hidden and another view shown within the same host view with an animating layout. Ensuring that only the final change "sticks" makes for a smooth transition from the pre-modification state. Bug: 1037947 Change-Id: Ibc1dbb2f249d1edfd21294202467d2292d0591a7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1981333 Commit-Queue: Dana Fried <dfried@chromium.org> Reviewed-by:Taylor Bergquist <tbergquist@chromium.org> Cr-Commit-Position: refs/heads/master@{#727514}
Showing
Please register or sign in to comment