mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Undeprecated GuardedAsyncTask constructor (#37864)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/37864 This was deprecated as part of bridgeless development, but since we now have `BridgelessReactContext`, which is also a `ReactContext`, this deprecation is no longer necessary. Changelog: [Internal] Reviewed By: rshest Differential Revision: D46685374 fbshipit-source-id: 4d13418419ac987261b1d10bd50aeb311caadc95
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e5c824ced7
commit
5f7c5a88a1
-1
@@ -20,7 +20,6 @@ public abstract class GuardedAsyncTask<Params, Progress> extends AsyncTask<Param
|
||||
|
||||
private final JSExceptionHandler mExceptionHandler;
|
||||
|
||||
@Deprecated
|
||||
protected GuardedAsyncTask(ReactContext reactContext) {
|
||||
this(reactContext.getExceptionHandler());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user