Ensure that the cancel and end listener are called when cancelling state animation

Bug: 190856140
Test: Manual
Change-Id: Ib6b869445cee9fad2a97a590d27429140f2b3ba9
2 files changed