Make ChipAnimatorAdapter check dot state when setting endstate

If the ChipAnimatorAdapter attempts to set the end state to
SHOWING_PERSISTENT_DOT after an animation ends, ensure that the dot
should still be shown, otherwise set to IDLE

Test: manual
Fixes: 189598739
Change-Id: I060e767fa08e72e11968e00f6960ffc8cdb70871
1 file changed