SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Fix NotInvokedPrivateMethod: Add @SuppressLint for preallocateView (#55439)

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

Fixed NotInvokedPrivateMethod lint warning for preallocateView in FabricUIManager.java.

This method is called from JNI/C++ code, not from Java, so the lint warning is
a false positive. Added SuppressLint annotation to suppress the warning.

changelog: [internal] internal

Reviewed By: javache

Differential Revision: D91840733

fbshipit-source-id: 4c575bd4626ad908c2b2a69d51f58d0293966f2b
D
David Vacca committed
c63c74a51bd12ab7c94c2b14bc323095c4438954
Parent: 38429b8
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com> on 2/8/2026, 11:29:11 PM