mirror of
https://github.com/status-im/react-native.git
synced 2025-02-05 14:13:26 +00:00
Make Systrace less noisy in Java
Reviewed By: AaaChiuuu Differential Revision: D5087152 fbshipit-source-id: 5aa911e834be2ee0d8c5c53ec71e617d02da564f
This commit is contained in:
parent
3f8af2deee
commit
523a103108
@ -315,7 +315,8 @@ public class ReactInstanceManager {
|
|||||||
private void recreateReactContextInBackgroundInner() {
|
private void recreateReactContextInBackgroundInner() {
|
||||||
UiThreadUtil.assertOnUiThread();
|
UiThreadUtil.assertOnUiThread();
|
||||||
|
|
||||||
if (mUseDeveloperSupport && mJSMainModuleName != null) {
|
if (mUseDeveloperSupport && mJSMainModuleName != null &&
|
||||||
|
!Systrace.isTracing(TRACE_TAG_REACT_APPS | TRACE_TAG_REACT_JSC_CALLS)) {
|
||||||
final DeveloperSettings devSettings = mDevSupportManager.getDevSettings();
|
final DeveloperSettings devSettings = mDevSupportManager.getDevSettings();
|
||||||
|
|
||||||
// If remote JS debugging is enabled, load from dev server.
|
// If remote JS debugging is enabled, load from dev server.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user