87 lines
2 KiB
Smali
87 lines
2 KiB
Smali
.class public final Lf/a/h/n;
|
|
.super Lj0/o/c/i;
|
|
.source "RtcConnection.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lj0/o/c/i;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"Ljava/lang/Exception;",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic this$0:Lcom/discord/rtcconnection/RtcConnection;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/rtcconnection/RtcConnection;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lf/a/h/n;->this$0:Lcom/discord/rtcconnection/RtcConnection;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
invoke-direct {p0, p1}, Lj0/o/c/i;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 4
|
|
|
|
check-cast p1, Ljava/lang/Exception;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object v1, p0, Lf/a/h/n;->this$0:Lcom/discord/rtcconnection/RtcConnection;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const-string v3, "Error occurred while connecting to RTC server: "
|
|
|
|
invoke-static {v3}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const/16 p1, 0x2e
|
|
|
|
invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 v3, 0x4
|
|
|
|
invoke-static {v1, v2, p1, v0, v3}, Lcom/discord/rtcconnection/RtcConnection;->d(Lcom/discord/rtcconnection/RtcConnection;ZLjava/lang/String;Ljava/lang/Throwable;I)V
|
|
|
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
const-string p1, "it"
|
|
|
|
invoke-static {p1}, Lj0/o/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|