Fix DoNotStripAnnotationUsage: Replace @DoNotStrip with @DoNotStripAny (#55412)

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

Fixed DoNotStripAnnotationUsage lint error in FabricUIManagerBinding.kt.

The class has many members (external methods like initHybrid, installFabricUIManager, etc.)
that need to be kept, so DoNotStripAny is more appropriate than DoNotStrip which only
keeps the directly annotated element.

changelog: [internal] internal

Reviewed By: javache

Differential Revision: D91840163

fbshipit-source-id: 2b83751f5c0f1ee2f8f10f137bbcee50b932c231
This commit is contained in:
David Vacca authored and meta-codesync[bot] committed 2026-02-08 15:29:11 -08:00
1 parent 444eb0eb2c
commit 1bfab3dfac
1 file changed
+2 -2
@@ -9,14 +9,14 @@ package com.facebook.react.fabric
import android.annotation.SuppressLint
import com.facebook.jni.HybridClassBase
import com.facebook.proguard.annotations.DoNotStrip
import com.facebook.proguard.annotations.DoNotStripAny
import com.facebook.react.bridge.NativeMap
import com.facebook.react.bridge.RuntimeExecutor
import com.facebook.react.bridge.RuntimeScheduler
import com.facebook.react.fabric.events.EventBeatManager
import com.facebook.react.uimanager.PixelUtil.getDisplayMetricDensity
@DoNotStrip
@DoNotStripAny
@SuppressLint("MissingNativeLoadLibrary")
internal class FabricUIManagerBinding : HybridClassBase() {
init {