From f8c51079ee8c49dcc842fa6b7543b4f98da64182 Mon Sep 17 00:00:00 2001 From: David Vacca Date: Fri, 20 Oct 2023 09:21:53 -0700 Subject: [PATCH] Delete LazyReactPackage.getReactModuleInfoProviderViaReflection (#41096) Summary: 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 --- .../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 *