use of com.google.firebase.crashlytics.internal.common.CrashlyticsUncaughtExceptionHandler in project GreenHouse by utsanjan.
the class CrashlyticsController method enableExceptionHandling.
/* JADX INFO: Access modifiers changed from: package-private */
public void enableExceptionHandling(Thread.UncaughtExceptionHandler defaultHandler, SettingsDataProvider settingsProvider) {
openSession();
CrashlyticsUncaughtExceptionHandler.CrashListener crashListener = new // from class: com.google.firebase.crashlytics.internal.common.CrashlyticsController.5
CrashlyticsUncaughtExceptionHandler.CrashListener() {
// com.google.firebase.crashlytics.internal.common.CrashlyticsUncaughtExceptionHandler.CrashListener
@Override
public void onUncaughtException(SettingsDataProvider settingsDataProvider, Thread thread, Throwable ex) {
CrashlyticsController.this.handleUncaughtException(settingsDataProvider, thread, ex);
}
};
CrashlyticsUncaughtExceptionHandler crashlyticsUncaughtExceptionHandler = new CrashlyticsUncaughtExceptionHandler(crashListener, settingsProvider, defaultHandler);
this.crashHandler = crashlyticsUncaughtExceptionHandler;
Thread.setDefaultUncaughtExceptionHandler(crashlyticsUncaughtExceptionHandler);
}
Aggregations