From 456335a7eb9b2ffd809b5f5af6a2963ac7683cf4 Mon Sep 17 00:00:00 2001 From: David Vacca Date: Thu, 5 Oct 2023 20:29:47 -0700 Subject: [PATCH] Reduce visibility of Capture Summary: 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. bypass-github-export-checks changelog: [Android][Changed] Reducing visibility of Capture Reviewed By: cortinico Differential Revision: D49803273 fbshipit-source-id: 5c57f7865b4d2b58b3a8ffcde8c424c0a65ee7d2 --- .../java/com/facebook/react/runtime/internal/bolts/Capture.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/internal/bolts/Capture.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/internal/bolts/Capture.java index f7beec042b7f4f..47743a60e6fddf 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/internal/bolts/Capture.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/internal/bolts/Capture.java @@ -14,7 +14,7 @@ * * @param */ -public class Capture { +class Capture { private @Nullable T value; public Capture() {}