84 lines
2.3 KiB
Smali
84 lines
2.3 KiB
Smali
|
.class final Lcom/discord/stores/StoreUserConnections$authorizeConnection$1;
|
||
|
.super Lkotlin/jvm/internal/k;
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lkotlin/jvm/functions/Function1;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Lcom/discord/stores/StoreUserConnections;->authorizeConnection(Ljava/lang/String;Landroid/content/Context;)V
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x18
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Lkotlin/jvm/internal/k;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"Lcom/discord/models/domain/ModelUrl;",
|
||
|
"Lkotlin/Unit;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic $context:Landroid/content/Context;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Landroid/content/Context;)V
|
||
|
.locals 0
|
||
|
|
||
|
iput-object p1, p0, Lcom/discord/stores/StoreUserConnections$authorizeConnection$1;->$context:Landroid/content/Context;
|
||
|
|
||
|
const/4 p1, 0x1
|
||
|
|
||
|
invoke-direct {p0, p1}, Lkotlin/jvm/internal/k;-><init>(I)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public final bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
.locals 0
|
||
|
|
||
|
check-cast p1, Lcom/discord/models/domain/ModelUrl;
|
||
|
|
||
|
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreUserConnections$authorizeConnection$1;->invoke(Lcom/discord/models/domain/ModelUrl;)V
|
||
|
|
||
|
sget-object p1, Lkotlin/Unit;->bPn:Lkotlin/Unit;
|
||
|
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public final invoke(Lcom/discord/models/domain/ModelUrl;)V
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "response"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelUrl;->getUrl()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/stores/StoreUserConnections$authorizeConnection$1;->$context:Landroid/content/Context;
|
||
|
|
||
|
invoke-static {p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-static {v0, p1}, Lcom/discord/utilities/uri/UriHandler;->openUrlWithCustomTabs(Landroid/content/Context;Landroid/net/Uri;)V
|
||
|
|
||
|
:cond_0
|
||
|
return-void
|
||
|
.end method
|