From 45a9b9f99221341e134dfa141876614459976b23 Mon Sep 17 00:00:00 2001 From: David Vacca Date: Mon, 21 Nov 2022 12:27:24 -0800 Subject: [PATCH] Remove unused method Summary: Remove unused method changelog: [internal] intenral Reviewed By: makovkastar Differential Revision: D41386919 fbshipit-source-id: d0ce952ea5f52effb7791d3b97605ce9c4c65957 --- .../com/facebook/react/uimanager/ViewGroupManager.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewGroupManager.java b/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewGroupManager.java index caa82eb8d47..12fca8747f3 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewGroupManager.java +++ b/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewGroupManager.java @@ -109,14 +109,4 @@ public abstract class ViewGroupManager public boolean needsCustomLayoutForChildren() { return false; } - - /** - * Returns whether or not this View type should promote its grandchildren as Views. This is an - * optimization for Scrollable containers when using Nodes, where instead of having one ViewGroup - * containing a large number of draw commands (and thus being more expensive in the case of an - * invalidate or re-draw), we split them up into several draw commands. - */ - public boolean shouldPromoteGrandchildren() { - return false; - } }