From 352c063589d96206e9238997c8f8eeea3229777f Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Fri, 4 Oct 2024 20:59:22 -0700 Subject: [PATCH] Removed unused `mJSEngineResolutionAlgorithm` from ReactHostImpl (#46842) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/46842 This filed is unused, let's just remove it. Changelog: [Internal] [Changed] - Removed unused `mJSEngineResolutionAlgorithm` from ReactHostImpl Reviewed By: NickGerleman Differential Revision: D63899705 fbshipit-source-id: 09fbd57333b32071540bf4c0aab9200a83a76010 --- .../src/main/java/com/facebook/react/runtime/ReactHostImpl.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactHostImpl.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactHostImpl.java index 958d28c1a6b120..2a858271956d2c 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactHostImpl.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactHostImpl.java @@ -26,7 +26,6 @@ import com.facebook.infer.annotation.ThreadConfined; import com.facebook.infer.annotation.ThreadSafe; import com.facebook.proguard.annotations.DoNotStrip; -import com.facebook.react.JSEngineResolutionAlgorithm; import com.facebook.react.MemoryPressureRouter; import com.facebook.react.ReactHost; import com.facebook.react.ReactInstanceEventListener; @@ -131,7 +130,6 @@ public class ReactHostImpl implements ReactHost { private final ReactLifecycleStateManager mReactLifecycleStateManager = new ReactLifecycleStateManager(mBridgelessReactStateTracker); private final int mId = mCounter.getAndIncrement(); - private @Nullable JSEngineResolutionAlgorithm mJSEngineResolutionAlgorithm = null; private @Nullable MemoryPressureListener mMemoryPressureListener; private @Nullable DefaultHardwareBackBtnHandler mDefaultHardwareBackBtnHandler;