Fix "setTranslucentBackgroundDrawable()" deprecation version (#45856)

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

No time traveling allowed.

Changelog:
[Android][Fixed] - Fix "setTranslucentBackgroundDrawable()" deprecation version

Reviewed By: joevilches

Differential Revision: D60569284

fbshipit-source-id: 364b0cde6f5117523289a2720128f44fd0e9e7db
This commit is contained in:
Nick Gerleman
2024-08-06 19:07:17 -07:00
committed by Facebook GitHub Bot
parent 60c38c37aa
commit 35d9a18b81
@@ -240,7 +240,7 @@ public class ReactViewGroup extends ViewGroup
getOrCreateReactViewBackground().setGradients(gradient);
}
@Deprecated(since = "0.66.0", forRemoval = true)
@Deprecated(since = "0.76.0", forRemoval = true)
public void setTranslucentBackgroundDrawable(@Nullable Drawable background) {
if (ReactNativeFeatureFlags.enableBackgroundStyleApplicator()) {
BackgroundStyleApplicator.setFeedbackUnderlay(this, background);