Reduce visibility of CanvasUtil (#39725)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39725

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 CanvasUtil

Reviewed By: RSNara

Differential Revision: D49752146

fbshipit-source-id: 26fbcd20b7a9db52043978ca86879c6f6cd7a8db
This commit is contained in:
David Vacca
2023-09-30 22:12:29 -07:00
committed by Facebook GitHub Bot
parent aa65e92121
commit aad82f5032
@@ -19,7 +19,8 @@ import javax.annotation.Nullable;
* href="https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/ui/ui-graphics/src/androidMain/kotlin/androidx/compose/ui/graphics/CanvasUtils.android.kt;drc=3b2dde134afab8d58b9c39ad4820eaf9a6e014a9">
* Compose canvas utils </a>
*/
public class CanvasUtil {
class CanvasUtil {
private CanvasUtil() {}
private @Nullable static Method mReorderBarrierMethod = null;