Use start-bounds for animation leash crop

When available, set the animation leash crop to the start-bounds
rather than the end-bounds. Otherwise, for change transitions, there
is a small period of time (between when the leash is set-up and
when the app process receives the start-animation call) where
incorrect state can be drawn.

Bug: 136468446
Test: atest RemoteAnimationControllerTest.
      With remote animator on mode change, maximize while taking
      an sf trace. Check that anim-leash crop is set properly.

Change-Id: I4148980af1514b13455923db29876ffb3045ebcb
2 files changed