Properly invalidate FlatViewGroup when hotspot Drawable invalidates

Summary: I lost FlatViewGroup.verifyDrawable(Drawable) method during one of the rebases. Re-adding it now because hotspot drawable is not working without it.

Reviewed By: ahmedre

Differential Revision: D2772460
This commit is contained in:
Denis Koroskin 2015-12-20 20:24:22 -08:00 committed by Ahmed El-Helw
parent 98604485c4
commit f738b598d8
1 changed files with 5 additions and 0 deletions

View File

@ -122,6 +122,11 @@ import com.facebook.react.uimanager.ReactCompoundView;
// nothing to do here
}
@Override
protected boolean verifyDrawable(Drawable who) {
return who == mHotspot || super.verifyDrawable(who);
}
@Override
protected void onAttachedToWindow() {
if (mIsAttached) {