Skip to content

Commit

Permalink
Revert D18787789: Make Java only NativeModules TurboModule-compatible
Browse files Browse the repository at this point in the history
Differential Revision:
D18787789

Original commit changeset: d513006ffd73

fbshipit-source-id: 5757f8fe789840c10e358aa510e321fb8b326b7c
  • Loading branch information
MylioDavidN authored and facebook-github-bot committed Dec 14, 2019
1 parent 1d3a95d commit 80bc511
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,5 @@ rn_android_library(
react_native_target("java/com/facebook/react/module/annotations:annotations"),
react_native_target("java/com/facebook/react/modules/common:common"),
react_native_target("java/com/facebook/react/modules/network:network"),
react_native_target("java/com/facebook/react/turbomodule/core/interfaces:interfaces"),
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import com.facebook.react.modules.network.CookieJarContainer;
import com.facebook.react.modules.network.ForwardingCookieHandler;
import com.facebook.react.modules.network.OkHttpClientProvider;
import com.facebook.react.turbomodule.core.interfaces.TurboModule;
import java.util.HashSet;
import okhttp3.JavaNetCookieJar;
import okhttp3.OkHttpClient;
Expand All @@ -36,7 +35,7 @@
*/
@ReactModule(name = FrescoModule.NAME, needsEagerInit = true)
public class FrescoModule extends ReactContextBaseJavaModule
implements ModuleDataCleaner.Cleanable, LifecycleEventListener, TurboModule {
implements ModuleDataCleaner.Cleanable, LifecycleEventListener {

public static final String NAME = "FrescoModule";
private final boolean mClearOnDestroy;
Expand Down

0 comments on commit 80bc511

Please sign in to comment.