what-the-bank/sources/io/flutter/util/TraceSection.java

30 lines
691 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package io.flutter.util;
import o.C6212cMN;
/* loaded from: classes.dex */
public final class TraceSection {
private static String cropSectionName(String str) {
if (str.length() < 124) {
return str;
}
return str.substring(0, 124) + "...";
}
public static void begin(String str) {
C6212cMN.d(cropSectionName(str));
}
public static void end() throws RuntimeException {
C6212cMN.a();
}
public static void beginAsyncSection(String str, int i) {
C6212cMN.b(cropSectionName(str), i);
}
public static void endAsyncSection(String str, int i) {
C6212cMN.d(cropSectionName(str), i);
}
}