apkfuckery/com.discord/smali/f/a/b/i.smali
2020-11-13 01:15:36 +00:00

78 lines
1.7 KiB
Smali

.class public final Lf/a/b/i;
.super Ly/n/c/k;
.source "AppLog.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/utilities/error/Error;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# static fields
.field public static final d:Lf/a/b/i;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lf/a/b/i;
invoke-direct {v0}, Lf/a/b/i;-><init>()V
sput-object v0, Lf/a/b/i;->d:Lf/a/b/i;
return-void
.end method
.method public constructor <init>()V
.locals 1
const/4 v0, 0x1
invoke-direct {p0, v0}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
check-cast p1, Lcom/discord/utilities/error/Error;
const-string v0, "error"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v0, 0x0
invoke-virtual {p1, v0}, Lcom/discord/utilities/error/Error;->setShouldLog(Z)V
invoke-virtual {p1, v0}, Lcom/discord/utilities/error/Error;->setShowErrorToasts(Z)V
sget-object v0, Lcom/discord/app/AppLog;->e:Lcom/discord/app/AppLog;
invoke-virtual {p1}, Lcom/discord/utilities/error/Error;->getThrowable()Ljava/lang/Throwable;
move-result-object p1
const-string v1, "Checking tombstone error"
invoke-virtual {v0, v1, p1}, Lcom/discord/app/AppLog;->i(Ljava/lang/String;Ljava/lang/Throwable;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method