Bug 765156: Property Animator should have null check. [r=wesj]

--HG--
extra : rebase_source : e4f6b8cdd90d047b06a24984b75fde58c1aa364b
This commit is contained in:
Sriram Ramasubramanian 2012-07-23 13:10:31 -07:00
parent 733e14c9de
commit 83714edac6

View File

@ -141,6 +141,9 @@ public class PropertyAnimator extends TimerTask {
}
private void invalidate(final ElementHolder element, final int delta) {
if (element == null || element.view == null)
return;
// Post the layout changes on the view's UI thread.
element.view.getHandler().post(new Runnable() {
@Override