Avoid setting mCurFrame to -1
Use the dedicated flag mRunning to check whether the DrawableAnimation is running, rather than comparing mCurFrame with -1. This CL aims to simplify the use of mCurFrame. Bug: 17112962 Change-Id: I15f9e4c102f504b8c806f029949fe9ec872479a5
Loading
Please register or sign in to comment