You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| public static void setEnabled(boolean enabled) {
| if (enabled) EarlyTraceEvent.disable();
| // Only disable logging if Chromium enabled it originally, so as to not disrupt logging done
| // by other applications
| if (sEnabled != enabled) {
| sEnabled = enabled;
| // Android M+ systrace logs this on its own. Only log it if not writing to Android
| // systrace.
| if (sATraceEnabled) return;
| ThreadUtils.getUiThreadLooper().setMessageLogging(
| enabled ? LooperMonitorHolder.sInstance : null);
| }
| }
这里有覆盖。会导致 Looper.logging 设置失效
The text was updated successfully, but these errors were encountered:
org.chromium.base.TraceEvent
@CalledByNative
| public static void setEnabled(boolean enabled) {
| if (enabled) EarlyTraceEvent.disable();
| // Only disable logging if Chromium enabled it originally, so as to not disrupt logging done
| // by other applications
| if (sEnabled != enabled) {
| sEnabled = enabled;
| // Android M+ systrace logs this on its own. Only log it if not writing to Android
| // systrace.
| if (sATraceEnabled) return;
| ThreadUtils.getUiThreadLooper().setMessageLogging(
| enabled ? LooperMonitorHolder.sInstance : null);
| }
| }
这里有覆盖。会导致 Looper.logging 设置失效
The text was updated successfully, but these errors were encountered: