Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
package com.helpshift.exception;
import android.util.Log;
import com.helpshift.Helpshift;
import com.helpshift.log.HSLogger;
import java.lang.Thread;
/* loaded from: classes3.dex */
public abstract class HSUncaughtExceptionHandler {
public static void init() {
final Thread.UncaughtExceptionHandler defaultUncaughtExceptionHandler = Thread.getDefaultUncaughtExceptionHandler();
Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() { // from class: com.helpshift.exception.HSUncaughtExceptionHandler.1
@Override // java.lang.Thread.UncaughtExceptionHandler
public void uncaughtException(Thread thread, Throwable th) {
if (HSUncaughtExceptionHandler.isCausedByHelpshift(th)) {
HSLogger.e("UncghtExptnHndlr", "UNCAUGHT EXCEPTION ", th);
}
Thread.UncaughtExceptionHandler uncaughtExceptionHandler = defaultUncaughtExceptionHandler;
if (uncaughtExceptionHandler != null) {
uncaughtExceptionHandler.uncaughtException(thread, th);
}
}
});
}
public static boolean isCausedByHelpshift(Throwable th) {
if (th == null) {
return false;
}
try {
return Log.getStackTraceString(th).contains(Helpshift.class.getPackage().getName());
} catch (Exception e) {
HSLogger.e("UncghtExptnHndlr", "Error determining crash from Helpshift", e);
return false;
}
}
}