From c7564c76f3c77769629b8ae720a9d3a8417c117f Mon Sep 17 00:00:00 2001 From: David Vacca Date: Sat, 30 Sep 2023 22:12:29 -0700 Subject: [PATCH] Reduce visibility of ReactTextInputKeyPressEvent (#39729) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39729 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 ReactTextInputKeyPressEvent Reviewed By: RSNara Differential Revision: D49752135 fbshipit-source-id: 0d00d6558c3e259977c26a53cbb8fe7c5ae6235d --- .../react/views/textinput/ReactTextInputKeyPressEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputKeyPressEvent.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputKeyPressEvent.java index 206f0ce84c9db3..6cf22e00f78e4e 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputKeyPressEvent.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputKeyPressEvent.java @@ -14,7 +14,7 @@ import com.facebook.react.uimanager.events.Event; /** Event emitted by EditText native view when key pressed */ -public class ReactTextInputKeyPressEvent extends Event { +class ReactTextInputKeyPressEvent extends Event { public static final String EVENT_NAME = "topKeyPress";