38 lines
1.4 KiB
Java
38 lines
1.4 KiB
Java
package com.tencent.bugly.crashreport.inner;
|
|
|
|
import com.tencent.bugly.crashreport.crash.d;
|
|
import com.tencent.bugly.proguard.x;
|
|
import java.util.Map;
|
|
|
|
/* compiled from: BUGLY */
|
|
/* loaded from: classes.dex */
|
|
public class InnerApi {
|
|
public static void postCocos2dxCrashAsync(int i, String str, String str2, String str3) {
|
|
if (str == null || str2 == null || str3 == null) {
|
|
x.e("post cocos2d-x fail args null", new Object[0]);
|
|
} else if (i != 5 && i != 6) {
|
|
x.e("post cocos2d-x fail category illeagle: %d", Integer.valueOf(i));
|
|
} else {
|
|
x.a("post cocos2d-x crash %s %s", str, str2);
|
|
d.a(Thread.currentThread(), i, str, str2, str3, null);
|
|
}
|
|
}
|
|
|
|
public static void postH5CrashAsync(Thread thread, String str, String str2, String str3, Map<String, String> map) {
|
|
if (str == null || str2 == null || str3 == null) {
|
|
x.e("post h5 fail args null", new Object[0]);
|
|
} else {
|
|
x.a("post h5 crash %s %s", str, str2);
|
|
d.a(thread, 8, str, str2, str3, map);
|
|
}
|
|
}
|
|
|
|
public static void postU3dCrashAsync(String str, String str2, String str3) {
|
|
if (str == null || str2 == null || str3 == null) {
|
|
x.e("post u3d fail args null", new Object[0]);
|
|
}
|
|
x.a("post u3d crash %s %s", str, str2);
|
|
d.a(Thread.currentThread(), 4, str, str2, str3, null);
|
|
}
|
|
}
|