mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Deprecate ReactContext.getFabricUIManager() method (#47743)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47743 Deprecate ReactContext.getFabricUIManager() method changelog: [Android][Deprecated] ReactContext.getFabricUIManager() method Reviewed By: shwanton Differential Revision: D66216427 fbshipit-source-id: 0e716921a6fc65ad1ccfcab71640174515ae4f67
This commit is contained in:
committed by
Facebook GitHub Bot
parent
3baf562df0
commit
fb737ca7d3
+2
-3
@@ -25,7 +25,6 @@ import com.facebook.react.bridge.interop.InteropModuleRegistry;
|
||||
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;
|
||||
@@ -503,8 +502,8 @@ public abstract class ReactContext extends ContextWrapper {
|
||||
*/
|
||||
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.")
|
||||
/**
|
||||
|
||||
+1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user