mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-02 23:05:01 +08:00
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:
committed by
Facebook Github Bot
parent
053776338e
commit
4f886a29a1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user