mirror of
https://github.com/status-im/react-native.git
synced 2025-01-28 02:04:55 +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() {
|
||||
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();
|
||||
|
||||
// If remote JS debugging is enabled, load from dev server.
|
||||
|
Loading…
x
Reference in New Issue
Block a user