OSDN Git Service

Work around a bug in an An app
authorDoris Liu <tianliu@google.com>
Thu, 26 Jan 2017 19:53:46 +0000 (11:53 -0800)
committerDoris Liu <tianliu@google.com>
Thu, 26 Jan 2017 20:21:20 +0000 (12:21 -0800)
commit66c564e390ea71576db7d4c1803b169cc98e987b
tree733ef91096712afe49b15e36bcf162b434d648b4
parentc5d458930ca4f69cf2d976ffd65a8679328de62c
Work around a bug in an An app

An app has Animators (NoPauseAnimatorWrapper) that does not
check their listeners against null before cloning. The previous
implementation of AnimatorSet has masked this issue. But the
underlying bug should be fixed in this app.

For now, work around the bug by adding a listener to all the child
animators.

BUG: 34736819
Test: Manual

Change-Id: I968450aab62cf5d308e3b64e76dcf018178af67e
core/java/android/animation/AnimatorSet.java