Snap screen rotation animation layers to final position if the animation is aborted.
Some users were seeing incorrectly aligned and rotated backgrounds while
at the lock screen. It was possible that the session state animations
were aborting the screen rotation animations prematurely and thus they
would get stuck in a bad position.
TBR=oshima@chromium.org
TEST=ScreenRotationAnimationTest.LayerTransformGetsSetToTargetWhenAborted
BUG=496986
Review URL: https://codereview.chromium.org/1315573003
Cr-Commit-Position: refs/heads/master@{#348734}
(cherry picked from commit ca01f9e55651e4a7285f551e83bd561b01787c19)
Review URL: https://codereview.chromium.org/1360863004 .
Cr-Commit-Position: refs/branch-heads/2454@{#498}
Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
3 files changed