From 60f77940009ee3cb8250eecf0e420669ffbde976 Mon Sep 17 00:00:00 2001 From: fabriziobertoglio1987 Date: Thu, 24 Feb 2022 13:26:28 +0800 Subject: [PATCH] remove duplicate method getContentView --- .../react/views/scroll/ReactHorizontalScrollView.java | 1 + .../com/facebook/react/views/scroll/ReactScrollView.java | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollView.java b/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollView.java index ae2a919ddeca1c..56e4cf343303cc 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollView.java +++ b/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollView.java @@ -42,6 +42,7 @@ import com.facebook.react.uimanager.FabricViewStateManager; import com.facebook.react.uimanager.MeasureSpecAssertions; import com.facebook.react.uimanager.PointerEvents; +import com.facebook.react.uimanager.ReactAccessibilityDelegate; import com.facebook.react.uimanager.ReactClippingViewGroup; import com.facebook.react.uimanager.ReactClippingViewGroupHelper; import com.facebook.react.uimanager.ReactOverflowViewWithInset; diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollView.java b/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollView.java index 37f314b52cbb4d..7fe0078eada396 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollView.java +++ b/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollView.java @@ -114,11 +114,6 @@ public ReactScrollView(Context context) { this(context, null); } - private View getContentView() { - View contentView = getChildAt(0); - return contentView; - } - public ReactScrollView(Context context, @Nullable FpsListener fpsListener) { super(context); mFpsListener = fpsListener;