From 9050bcb2b55029fc921cf43d02b8f10031dea4a0 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Wed, 18 Oct 2023 10:58:20 -0700 Subject: [PATCH] Move .interop package inside .internal (#41038) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41038 Move .interop package inside .internal Changelog: [Internal] [Changed] - Move .interop package inside .internal Reviewed By: mdvacca Differential Revision: D50372494 fbshipit-source-id: a47ffcfdfc7dda3e4e985898bd4e8f0bba40256e --- .../main/java/com/facebook/react/fabric/FabricUIManager.java | 2 +- .../react/{fabric => internal}/interop/InteropEvent.java | 2 +- .../react/{fabric => internal}/interop/InteropEventEmitter.java | 2 +- .../{fabric => internal}/interop/InteropEventEmitterTest.kt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename packages/react-native/ReactAndroid/src/main/java/com/facebook/react/{fabric => internal}/interop/InteropEvent.java (96%) rename packages/react-native/ReactAndroid/src/main/java/com/facebook/react/{fabric => internal}/interop/InteropEventEmitter.java (98%) rename packages/react-native/ReactAndroid/src/test/java/com/facebook/react/{fabric => internal}/interop/InteropEventEmitterTest.kt (98%) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManager.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManager.java index 2f9a24fd3cdfe4..e20d13c0f22b80 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManager.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManager.java @@ -57,7 +57,6 @@ import com.facebook.react.config.ReactFeatureFlags; import com.facebook.react.fabric.events.EventEmitterWrapper; import com.facebook.react.fabric.events.FabricEventEmitter; -import com.facebook.react.fabric.interop.InteropEventEmitter; import com.facebook.react.fabric.mounting.MountItemDispatcher; import com.facebook.react.fabric.mounting.MountingManager; import com.facebook.react.fabric.mounting.SurfaceMountingManager; @@ -66,6 +65,7 @@ import com.facebook.react.fabric.mounting.mountitems.MountItem; import com.facebook.react.fabric.mounting.mountitems.MountItemFactory; import com.facebook.react.interfaces.fabric.SurfaceHandler; +import com.facebook.react.internal.interop.InteropEventEmitter; import com.facebook.react.modules.core.ReactChoreographer; import com.facebook.react.modules.i18nmanager.I18nUtil; import com.facebook.react.uimanager.IllegalViewOperationException; diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/interop/InteropEvent.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/interop/InteropEvent.java similarity index 96% rename from packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/interop/InteropEvent.java rename to packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/interop/InteropEvent.java index 881edbdf6fa4e1..cca423b07fd474 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/interop/InteropEvent.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/interop/InteropEvent.java @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -package com.facebook.react.fabric.interop; +package com.facebook.react.internal.interop; import androidx.annotation.Nullable; import com.facebook.react.bridge.WritableMap; diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/interop/InteropEventEmitter.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/interop/InteropEventEmitter.java similarity index 98% rename from packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/interop/InteropEventEmitter.java rename to packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/interop/InteropEventEmitter.java index aef10bffdfbdcf..c2d7c42f586196 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/interop/InteropEventEmitter.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/interop/InteropEventEmitter.java @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -package com.facebook.react.fabric.interop; +package com.facebook.react.internal.interop; import androidx.annotation.Nullable; import com.facebook.react.bridge.ReactContext; diff --git a/packages/react-native/ReactAndroid/src/test/java/com/facebook/react/fabric/interop/InteropEventEmitterTest.kt b/packages/react-native/ReactAndroid/src/test/java/com/facebook/react/internal/interop/InteropEventEmitterTest.kt similarity index 98% rename from packages/react-native/ReactAndroid/src/test/java/com/facebook/react/fabric/interop/InteropEventEmitterTest.kt rename to packages/react-native/ReactAndroid/src/test/java/com/facebook/react/internal/interop/InteropEventEmitterTest.kt index f4348f8d43186f..7200a7fab5c425 100644 --- a/packages/react-native/ReactAndroid/src/test/java/com/facebook/react/fabric/interop/InteropEventEmitterTest.kt +++ b/packages/react-native/ReactAndroid/src/test/java/com/facebook/react/internal/interop/InteropEventEmitterTest.kt @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -package com.facebook.react.fabric.interop +package com.facebook.react.internal.interop import com.facebook.react.bridge.JavaOnlyMap import com.facebook.react.bridge.ReactApplicationContext