Merge "Verify drawables added to ViewOverlay so they can be scheduled"
This commit is contained in:
committed by
Android (Google) Code Review
commit
774e89f14d
@@ -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