Skip to content
Commit 2750ad0d authored by Miranda Kephart's avatar Miranda Kephart
Browse files

Fix screenshot scaling bug

Occasionally, the screenshot preview would not reach the correct
final scale, instead getting "stuck" at some larger size. This is
because there was no final condition for the scale, so the final
state depended on exactly which values the ValueAnimator update
listener was called with. Setting a final state correctly fixes
this problem.

(Also fixes the equivalent bug for the x position.)

Bug: 150134649
Test: manual -- there was not a reliable repro for the bug, but it
hasn't been seen since making the change

Change-Id: Ia383ca9336db382fd54087ce12accafd35b48a22
parent 14ebab3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment