commit | 56ef127df75164243a21df10771e7c77c8ef2e24 | [log] [tgz] |
---|---|---|
author | Doris Liu <tianliu@google.com> | Mon May 11 15:18:45 2015 -0700 |
committer | Doris Liu <tianliu@google.com> | Tue May 12 10:07:25 2015 -0700 |
tree | 8d1971bc35e9a28c0a2d7321424619ec9d9cfd85 | |
parent | 729d0a06eaaa40f5be4d9dc5bd580f525ba8360e [diff] |
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