tmap/smali_classes3/com/google/firebase/crash/FirebaseCrash$zzc.smali
2022-06-10 21:38:30 +09:00

98 lines
2.9 KiB
Smali

.class final Lcom/google/firebase/crash/FirebaseCrash$zzc;
.super Ljava/lang/Object;
# interfaces
.implements Ljava/lang/Thread$UncaughtExceptionHandler;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/crash/FirebaseCrash;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "zzc"
.end annotation
# instance fields
.field private synthetic zzbXX:Lcom/google/firebase/crash/FirebaseCrash;
.field private final zzbYa:Ljava/lang/Thread$UncaughtExceptionHandler;
# direct methods
.method public constructor <init>(Lcom/google/firebase/crash/FirebaseCrash;Ljava/lang/Thread$UncaughtExceptionHandler;)V
.locals 0
.param p1 # Lcom/google/firebase/crash/FirebaseCrash;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
iput-object p1, p0, Lcom/google/firebase/crash/FirebaseCrash$zzc;->zzbXX:Lcom/google/firebase/crash/FirebaseCrash;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p2, p0, Lcom/google/firebase/crash/FirebaseCrash$zzc;->zzbYa:Ljava/lang/Thread$UncaughtExceptionHandler;
return-void
.end method
# virtual methods
.method public final uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V
.locals 5
const-string v0, "UncaughtException"
const-string v1, ""
invoke-static {v0, v1, p2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
iget-object v1, p0, Lcom/google/firebase/crash/FirebaseCrash$zzc;->zzbXX:Lcom/google/firebase/crash/FirebaseCrash;
invoke-virtual {v1}, Lcom/google/firebase/crash/FirebaseCrash;->zzFe()Z
move-result v1
if-nez v1, :cond_0
:try_start_0
iget-object v1, p0, Lcom/google/firebase/crash/FirebaseCrash$zzc;->zzbXX:Lcom/google/firebase/crash/FirebaseCrash;
invoke-virtual {v1, p2}, Lcom/google/firebase/crash/FirebaseCrash;->zze(Ljava/lang/Throwable;)Ljava/util/concurrent/Future;
move-result-object v1
if-eqz v1, :cond_0
const-wide/16 v2, 0x2710
sget-object v4, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invoke-interface {v1, v2, v3, v4}, Ljava/util/concurrent/Future;->get(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v1
const-string v2, "Ouch! My own exception handler threw an exception."
invoke-static {v0, v2, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
:cond_0
:goto_0
iget-object v0, p0, Lcom/google/firebase/crash/FirebaseCrash$zzc;->zzbYa:Ljava/lang/Thread$UncaughtExceptionHandler;
if-eqz v0, :cond_1
invoke-interface {v0, p1, p2}, Ljava/lang/Thread$UncaughtExceptionHandler;->uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V
:cond_1
return-void
.end method