Fix NPE when finishing remote animation

Make sure the access is in the synchronized block.

Bug: 254320691
Test: Manual test

Signed-off-by: miaojian <miaojian1993@gmail.com>
Change-Id: Ia244b5ba2d3ba891319b32513841f397177cde0f
1 file changed