From 9582f98099709f1097544515e30f938b56dbf9f6 Mon Sep 17 00:00:00 2001 From: David Vacca Date: Mon, 9 Oct 2023 15:00:18 -0700 Subject: [PATCH] Reduce visibility of ReactImageDownloadListener 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 ReactImageDownloadListener Reviewed By: arushikesarwani94 Differential Revision: D49803289 fbshipit-source-id: 19d4c3403449dd9b928963b274362662375b7545 --- .../facebook/react/views/image/ReactImageDownloadListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/image/ReactImageDownloadListener.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/image/ReactImageDownloadListener.java index e145e21e93f8e5..475d6c1ee12688 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/image/ReactImageDownloadListener.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/image/ReactImageDownloadListener.java @@ -16,7 +16,7 @@ import com.facebook.drawee.drawable.ForwardingDrawable; import javax.annotation.Nullable; -public class ReactImageDownloadListener extends ForwardingDrawable +class ReactImageDownloadListener extends ForwardingDrawable implements ControllerListener { private static final int MAX_LEVEL = 10000;