Skip to content

Commit

Permalink
Reduce visibility of CanvasUtil (#39725)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #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
  • Loading branch information
mdvacca authored and facebook-github-bot committed Oct 1, 2023
1 parent aa65e92 commit aad82f5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
* 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;
Expand Down

0 comments on commit aad82f5

Please sign in to comment.