Add @Nullable annotation to FlatShadowNode.obtainLayoutEvent()
Summary: Lint tool raised a warning. This diff is fixing it. Reviewed By: sriramramani Differential Revision: D2977649
This commit is contained in:
parent
ca7a3519cf
commit
b9e3ef2d5f
|
@ -311,6 +311,7 @@ import com.facebook.react.uimanager.annotations.ReactProp;
|
|||
return mDrawView;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
/* package */ final OnLayoutEvent obtainLayoutEvent(int x, int y, int width, int height) {
|
||||
if (mLayoutX == x && mLayoutY == y && mLayoutWidth == width && mLayoutHeight == height) {
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue