mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove logs related to T62192299
Summary: Removing logs related to T62192299 that we don't need anymore. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D21773629 fbshipit-source-id: d16c01f87be3ed7512fe90b6e261b4c7efbd3068
This commit is contained in:
committed by
Facebook GitHub Bot
parent
92160f3144
commit
983b0a0903
@@ -655,9 +655,9 @@ public class ReactInstanceManager {
|
||||
}
|
||||
}
|
||||
|
||||
/** Temporary: due to T62192299, log sources of destroy calls. TODO T62192299: delete */
|
||||
/** Temporary: due to T67035147, log sources of destroy calls. TODO T67035147: delete */
|
||||
private void logOnDestroy() {
|
||||
FLog.e(
|
||||
FLog.d(
|
||||
TAG,
|
||||
"ReactInstanceManager.destroy called",
|
||||
new RuntimeException("ReactInstanceManager.destroy called"));
|
||||
@@ -669,7 +669,6 @@ public class ReactInstanceManager {
|
||||
UiThreadUtil.assertOnUiThread();
|
||||
PrinterHolder.getPrinter().logMessage(ReactDebugOverlayTags.RN_CORE, "RNCore: Destroy");
|
||||
|
||||
// TODO T62192299: remove when investigation is complete
|
||||
logOnDestroy();
|
||||
|
||||
if (mHasStartedDestroying) {
|
||||
@@ -1134,8 +1133,7 @@ public class ReactInstanceManager {
|
||||
}
|
||||
|
||||
private void attachRootViewToInstance(final ReactRoot reactRoot) {
|
||||
// TODO: downgrade back to FLog.d once T62192299 is resolved.
|
||||
FLog.e(ReactConstants.TAG, "ReactInstanceManager.attachRootViewToInstance()");
|
||||
FLog.d(ReactConstants.TAG, "ReactInstanceManager.attachRootViewToInstance()");
|
||||
Systrace.beginSection(TRACE_TAG_REACT_JAVA_BRIDGE, "attachRootViewToInstance");
|
||||
|
||||
@Nullable
|
||||
|
||||
@@ -523,8 +523,6 @@ public class ReactRootView extends FrameLayout implements RootView, ReactRoot {
|
||||
|
||||
mShouldLogContentAppeared = true;
|
||||
|
||||
// TODO T62192299: remove this
|
||||
FLog.e(TAG, "runApplication: call AppRegistry.runApplication");
|
||||
catalystInstance.getJSModule(AppRegistry.class).runApplication(jsAppModuleName, appParams);
|
||||
} finally {
|
||||
Systrace.endSection(TRACE_TAG_REACT_JAVA_BRIDGE);
|
||||
|
||||
@@ -724,9 +724,6 @@ public class CatalystInstanceImpl implements CatalystInstance {
|
||||
}
|
||||
|
||||
private void onNativeException(Exception e) {
|
||||
// TODO T62192299: remove this after investigation
|
||||
FLog.e(ReactConstants.TAG, "CatalystInstanceImpl caught native exception", e);
|
||||
|
||||
mNativeModuleCallExceptionHandler.handleException(e);
|
||||
mReactQueueConfiguration
|
||||
.getUIQueueThread()
|
||||
|
||||
-4
@@ -9,7 +9,6 @@ package com.facebook.react.devsupport;
|
||||
|
||||
import android.view.View;
|
||||
import androidx.annotation.Nullable;
|
||||
import com.facebook.common.logging.FLog;
|
||||
import com.facebook.react.bridge.DefaultNativeModuleCallExceptionHandler;
|
||||
import com.facebook.react.bridge.ReactContext;
|
||||
import com.facebook.react.bridge.ReadableArray;
|
||||
@@ -158,9 +157,6 @@ public class DisabledDevSupportManager implements DevSupportManager {
|
||||
|
||||
@Override
|
||||
public void handleException(Exception e) {
|
||||
// TODO T62192299: remove this after investigation
|
||||
FLog.e("DisabledDevSupportManager", "Caught exception", e);
|
||||
|
||||
mDefaultNativeModuleCallExceptionHandler.handleException(e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user