From c89c25f27d115c1928104b06dbe6eabf005995a6 Mon Sep 17 00:00:00 2001 From: Chris Hopman Date: Wed, 13 Jul 2016 16:00:08 -0700 Subject: [PATCH] Make new bridge default in OSS Reviewed By: bestander Differential Revision: D3553208 fbshipit-source-id: 35d466e87032618978230b118772e366ba1deea9 --- .../java/com/facebook/react/testing/ReactAppTestActivity.java | 1 - .../src/main/java/com/facebook/react/ReactNativeHost.java | 1 - 2 files changed, 2 deletions(-) diff --git a/ReactAndroid/src/androidTest/java/com/facebook/react/testing/ReactAppTestActivity.java b/ReactAndroid/src/androidTest/java/com/facebook/react/testing/ReactAppTestActivity.java index 592324e26..37f0a4db3 100644 --- a/ReactAndroid/src/androidTest/java/com/facebook/react/testing/ReactAppTestActivity.java +++ b/ReactAndroid/src/androidTest/java/com/facebook/react/testing/ReactAppTestActivity.java @@ -153,7 +153,6 @@ public class ReactAppTestActivity extends FragmentActivity implements ReactInstanceManager.Builder builder = ReactTestHelper.getReactTestFactory().getReactInstanceManagerBuilder() .setApplication(getApplication()) - .setUseOldBridge(true) .setBundleAssetName(bundleName) // By not setting a JS module name, we force the bundle to be always loaded from // assets, not the devserver, even if dev mode is enabled (such as when testing redboxes). diff --git a/ReactAndroid/src/main/java/com/facebook/react/ReactNativeHost.java b/ReactAndroid/src/main/java/com/facebook/react/ReactNativeHost.java index 54e893f1e..b30202442 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/ReactNativeHost.java +++ b/ReactAndroid/src/main/java/com/facebook/react/ReactNativeHost.java @@ -61,7 +61,6 @@ public abstract class ReactNativeHost { protected ReactInstanceManager createReactInstanceManager() { ReactInstanceManager.Builder builder = ReactInstanceManager.builder() - .setUseOldBridge(true) .setApplication(mApplication) .setJSMainModuleName(getJSMainModuleName()) .setUseDeveloperSupport(getUseDeveloperSupport())