Skip to content

Commit

Permalink
Deprecate ReactContext.getFabricUIManager() method (#47743)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #47743

Deprecate ReactContext.getFabricUIManager() method

changelog: [Android][Deprecated] ReactContext.getFabricUIManager() method

Reviewed By: shwanton

Differential Revision: D66216427

fbshipit-source-id: 0e716921a6fc65ad1ccfcab71640174515ae4f67
  • Loading branch information
mdvacca authored and facebook-github-bot committed Nov 21, 2024
1 parent 3baf562 commit fb737ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import com.facebook.react.bridge.queue.MessageQueueThread;
import com.facebook.react.bridge.queue.ReactQueueConfiguration;
import com.facebook.react.common.LifecycleState;
import com.facebook.react.common.annotations.DeprecatedInNewArchitecture;
import com.facebook.react.turbomodule.core.interfaces.CallInvokerHolder;
import java.lang.ref.WeakReference;
import java.util.Collection;
Expand Down Expand Up @@ -503,8 +502,8 @@ public boolean startActivityForResult(Intent intent, int code, Bundle bundle) {
*/
public abstract @Nullable CallInvokerHolder getJSCallInvokerHolder();

@DeprecatedInNewArchitecture(
message =
@Deprecated(
since =
"This method will be deprecated later as part of Stable APIs with bridge removal and not"
+ " encouraged usage.")
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
@file:Suppress("DEPRECATION") // Suppressing as we want to test getFabricUIManager here

package com.facebook.react.runtime

Expand Down

0 comments on commit fb737ca

Please sign in to comment.