- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
33 lines
1.5 KiB
Java
33 lines
1.5 KiB
Java
package com.fyber.inneractive.sdk.external;
|
|
|
|
import android.content.SharedPreferences;
|
|
import java.io.PrintWriter;
|
|
import java.io.StringWriter;
|
|
import java.lang.Thread;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class a implements Thread.UncaughtExceptionHandler {
|
|
public final /* synthetic */ SharedPreferences a;
|
|
public final /* synthetic */ Thread.UncaughtExceptionHandler b;
|
|
|
|
public a(SharedPreferences sharedPreferences, Thread.UncaughtExceptionHandler uncaughtExceptionHandler) {
|
|
this.a = sharedPreferences;
|
|
this.b = uncaughtExceptionHandler;
|
|
}
|
|
|
|
@Override // java.lang.Thread.UncaughtExceptionHandler
|
|
public final void uncaughtException(Thread thread, Throwable th) {
|
|
SharedPreferences sharedPreferences = this.a;
|
|
StringWriter stringWriter = new StringWriter();
|
|
th.printStackTrace(new PrintWriter(stringWriter));
|
|
String stringBuffer = stringWriter.getBuffer().toString();
|
|
if (stringBuffer.contains("com.fyber.inneractive")) {
|
|
sharedPreferences.edit().putString("FyberExceptionKey", stringBuffer).putString("FyberVersionKey", InneractiveAdManager.getVersion()).putString("FyberNameKey", th.getClass().getName()).putString("FyberDescriptionKey", th.getLocalizedMessage()).commit();
|
|
}
|
|
Thread.UncaughtExceptionHandler uncaughtExceptionHandler = this.b;
|
|
if (uncaughtExceptionHandler != null) {
|
|
uncaughtExceptionHandler.uncaughtException(thread, th);
|
|
}
|
|
}
|
|
}
|