From 93b1dc9633e9e28c24c6f20dc82e8699b430bf6b Mon Sep 17 00:00:00 2001 From: David Vacca Date: Sat, 30 Sep 2023 22:12:29 -0700 Subject: [PATCH] Reduce visibility of ReactAndroidHWInputDeviceHelper (#39731) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39731 In an attempt to reduce footprint of React Native Android public APIs we are reducing visibility of classes and interfaces that are not meant to be used publicly OR are public but have no usages. As part of our analysis, which involved looking for usages inside the Meta codebase and code search in OSS, we've detected that this class/interface is public but it's not used from other packages. If you are using this class or interface please comment in this PR and we will restate the public access. changelog: [Android][Changed] Reducing visibility of ReactAndroidHWInputDeviceHelper Reviewed By: RSNara Differential Revision: D49752132 fbshipit-source-id: 3eadc01f05f5ce49b4019fa8c3dafe8d5f5fc1f3 --- .../com/facebook/react/ReactAndroidHWInputDeviceHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactAndroidHWInputDeviceHelper.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactAndroidHWInputDeviceHelper.java index 44a9fe79df024c..c34e63d8489e91 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactAndroidHWInputDeviceHelper.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactAndroidHWInputDeviceHelper.java @@ -15,7 +15,7 @@ import java.util.Map; /** Responsible for dispatching events specific for hardware inputs. */ -public class ReactAndroidHWInputDeviceHelper { +class ReactAndroidHWInputDeviceHelper { /** * Contains a mapping between handled KeyEvents and the corresponding navigation event that should