From 5fa9d789784f2960945ac021b16c833052b7f90c Mon Sep 17 00:00:00 2001 From: David Vacca Date: Fri, 27 Apr 2018 18:44:11 -0700 Subject: [PATCH] Fix viewflattening for views with on_layout props Reviewed By: achen1 Differential Revision: D7796986 fbshipit-source-id: beb0725d4edc15ec23deba592e53b700abb3bcb5 --- .../src/main/java/com/facebook/react/uimanager/ViewProps.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewProps.java b/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewProps.java index aee1a0c7d..f85236d48 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewProps.java +++ b/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewProps.java @@ -254,8 +254,6 @@ public class ViewProps { return map.isNull(BORDER_RIGHT_WIDTH) || map.getDouble(BORDER_RIGHT_WIDTH) == 0d; case BORDER_BOTTOM_WIDTH: return map.isNull(BORDER_BOTTOM_WIDTH) || map.getDouble(BORDER_BOTTOM_WIDTH) == 0d; - case ON_LAYOUT: - return true; case OVERFLOW: // We do nothing with this right now. return true; default: