Remove android_react_native_perf.use_separate_ui_bg_thread experiment.

Reviewed By: AaaChiuuu

Differential Revision: D6313250

fbshipit-source-id: 583a729a157a2053827631a43e38917753e78477
This commit is contained in:
Dmitry Zakharov
2017-11-14 06:39:22 -08:00
committed by Facebook Github Bot
parent 053776338e
commit 4f886a29a1
14 changed files with 16 additions and 151 deletions

View File

@@ -305,7 +305,7 @@ public class UIManagerModule extends ReactContextBaseJavaModule implements
new SizeMonitoringFrameLayout.OnSizeChangedListener() {
@Override
public void onSizeChanged(final int width, final int height, int oldW, int oldH) {
reactApplicationContext.runUIBackgroundRunnable(
reactApplicationContext.runOnNativeModulesQueueThread(
new GuardedRunnable(reactApplicationContext) {
@Override
public void runGuarded() {
@@ -325,7 +325,7 @@ public class UIManagerModule extends ReactContextBaseJavaModule implements
}
public void updateNodeSize(int nodeViewTag, int newWidth, int newHeight) {
getReactApplicationContext().assertOnUIBackgroundOrNativeModulesThread();
getReactApplicationContext().assertOnNativeModulesQueueThread();
mUIImplementation.updateNodeSize(nodeViewTag, newWidth, newHeight);
}
@@ -344,7 +344,7 @@ public class UIManagerModule extends ReactContextBaseJavaModule implements
reactApplicationContext.assertOnUiQueueThread();
reactApplicationContext.runUIBackgroundRunnable(
reactApplicationContext.runOnNativeModulesQueueThread(
new GuardedRunnable(reactApplicationContext) {
@Override
public void runGuarded() {