Verify drawables added to ViewOverlay so they can be scheduled
Change-Id: I73d0633966f84876e2093c874acd6813efdbc370
This commit is contained in:
@@ -155,6 +155,11 @@ public class ViewOverlay {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean verifyDrawable(Drawable who) {
|
||||
return super.verifyDrawable(who) || (mDrawables != null && mDrawables.contains(who));
|
||||
}
|
||||
|
||||
public void add(View child) {
|
||||
if (child.getParent() instanceof ViewGroup) {
|
||||
ViewGroup parent = (ViewGroup) child.getParent();
|
||||
|
||||
Reference in New Issue
Block a user