robolectric/robolectric — pull request #720 by seadowg (2013-09-27 00:26:35+00:00)
Title: Fix `Animation.hasEnded()` so it is true after `invokeEnd()`/`cancel()`

This just adds a flag to `ShadowAnimation` so `invokeEnd()` and `cancel()` correctly update the result of `hasEnded`.

Fixes #381.