From 118e651bc28d089f72e2ea3696ca711f21d7ada6 Mon Sep 17 00:00:00 2001 From: David Vacca Date: Fri, 27 Oct 2023 11:13:09 -0700 Subject: [PATCH] Delete LazyReactPackage.getReactModuleInfoProviderViaReflection (#41096) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41096 LazyReactPackage.getReactModuleInfoProviderViaReflection was deprecated in 0.72, I'm just deleting it. There are no usages internally or externally changelog: [Android][Breaking] Delete deprecated method LazyReactPackage.getReactModuleInfoProviderViaReflection Reviewed By: arushikesarwani94 Differential Revision: D50338302 fbshipit-source-id: 02fe91d5da8d6f01b8d3852aced90034a1a5c8e8 --- .../src/main/java/com/facebook/react/LazyReactPackage.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/LazyReactPackage.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/LazyReactPackage.java index bf4086ee4508c8..48e30d36b8e099 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/LazyReactPackage.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/LazyReactPackage.java @@ -29,12 +29,6 @@ @Deprecated(since = "This class is deprecated, please use BaseReactPackage instead.") public abstract class LazyReactPackage implements ReactPackage { - @Deprecated - public static ReactModuleInfoProvider getReactModuleInfoProviderViaReflection( - LazyReactPackage lazyReactPackage) { - return Collections::emptyMap; - } - /** * We return an iterable *