This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,42 @@
// Metro module 13456 (f13457).
import { Systrace } from "react-native";
import { isAndroid } from "../../../utils/PlatformUtils";
import * as _Module13457 from "../../../_bundle/Module13457";
export function installSystrace() {
if (isAndroid()) {
Systrace.isEnabled = () => {
let r9 = _Module13457.default == null ? void 0 : _Module13457.default.isEnabled();
if (r9 == null) {
r9 = false;
}
return r9;
};
Systrace.beginEvent = (a0) => {
if (_Module13457.default != null) {
_Module13457.default.beginEvent(typeof a0 !== "string" ? a0() : a0);
}
};
Systrace.endEvent = () => {
if (_Module13457.default != null) {
_Module13457.default.endEvent();
}
};
Systrace.beginAsyncEvent = (a0) => {
let r12 = _Module13457.default == null ? void 0 : _Module13457.default.beginAsyncEvent(typeof a0 !== "string" ? a0() : a0);
if (r12 == null) {
r12 = 0;
}
return r12;
};
Systrace.endAsyncEvent = (a0, a1) => {
if (_Module13457.default != null) {
_Module13457.default.endAsyncEvent(typeof a0 !== "string" ? a0() : a0, a1);
}
};
Systrace.counterEvent = (a0, a1) => {
if (_Module13457.default != null) {
_Module13457.default.counterEvent(typeof a0 !== "string" ? a0() : a0, a1);
}
};
}
}