apkfuckery/com.discord/smali/f/c/a/f2/g$a.smali
2020-07-25 02:57:47 +00:00

64 lines
1.3 KiB
Smali

.class public Lf/c/a/f2/g$a;
.super Ljava/lang/Object;
.source "ThreadFactoryWrapper.java"
# interfaces
.implements Ljava/lang/Thread$UncaughtExceptionHandler;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lf/c/a/f2/g;->newThread(Ljava/lang/Runnable;)Ljava/lang/Thread;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# direct methods
.method public constructor <init>(Lf/c/a/f2/g;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V
.locals 3
invoke-static {}, Lf/c/a/a0;->a()Lf/c/a/w0;
move-result-object v0
const/4 v1, 0x2
new-array v1, v1, [Ljava/lang/Object;
invoke-virtual {p1}, Ljava/lang/Thread;->getName()Ljava/lang/String;
move-result-object p1
const/4 v2, 0x0
aput-object p1, v1, v2
invoke-virtual {p2}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object p1
const/4 p2, 0x1
aput-object p1, v1, p2
const-string p1, "Thread [%s] with error [%s]"
invoke-interface {v0, p1, v1}, Lf/c/a/w0;->e(Ljava/lang/String;[Ljava/lang/Object;)V
return-void
.end method