2019-12-06 03:29:40 +00:00
|
|
|
.class public final Lcom/discord/utilities/intent/RouteHandlers$selectSettings$1;
|
2019-12-20 07:00:35 +00:00
|
|
|
.super Lm/u/b/k;
|
2019-08-16 21:39:58 +00:00
|
|
|
.source "RouteHandlers.kt"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
2019-08-16 21:39:58 +00:00
|
|
|
value = Lcom/discord/utilities/intent/RouteHandlers;->selectSettings(Landroid/net/Uri;Lkotlin/text/MatchResult;Landroid/content/Context;)Lcom/discord/utilities/intent/RouteHandlers$AnalyticsMetadata;
|
2019-07-24 11:27:29 +00:00
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
2019-12-06 03:29:40 +00:00
|
|
|
accessFlags = 0x19
|
2019-07-24 11:27:29 +00:00
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-12-20 07:00:35 +00:00
|
|
|
"Lm/u/b/k;",
|
2019-07-24 11:27:29 +00:00
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"Landroidx/fragment/app/FragmentActivity;",
|
|
|
|
"Ljava/lang/Boolean;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final synthetic $settingsSubPath:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final synthetic $uri:Landroid/net/Uri;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public constructor <init>(Ljava/lang/String;Landroid/net/Uri;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 0
|
|
|
|
|
2019-08-16 21:39:58 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/utilities/intent/RouteHandlers$selectSettings$1;->$settingsSubPath:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-16 21:39:58 +00:00
|
|
|
iput-object p2, p0, Lcom/discord/utilities/intent/RouteHandlers$selectSettings$1;->$uri:Landroid/net/Uri;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-direct {p0, p1}, Lm/u/b/k;-><init>(I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
check-cast p1, Landroidx/fragment/app/FragmentActivity;
|
|
|
|
|
2019-08-16 21:39:58 +00:00
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/utilities/intent/RouteHandlers$selectSettings$1;->invoke(Landroidx/fragment/app/FragmentActivity;)Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final invoke(Landroidx/fragment/app/FragmentActivity;)Z
|
2019-08-31 00:40:57 +00:00
|
|
|
.locals 7
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-16 21:39:58 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/utilities/intent/RouteHandlers$selectSettings$1;->$settingsSubPath:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
sparse-switch v1, :sswitch_data_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_1
|
2019-07-26 02:05:13 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
:sswitch_0
|
|
|
|
const-string v1, "/voice"
|
2019-07-27 00:12:07 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
2019-07-27 00:12:07 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
move-result v0
|
2019-07-27 00:12:07 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
if-eqz v0, :cond_2
|
2019-07-27 00:12:07 +00:00
|
|
|
|
2019-08-31 00:40:57 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/settings/WidgetSettingsVoice;->Companion:Lcom/discord/widgets/settings/WidgetSettingsVoice$Companion;
|
2019-07-27 00:12:07 +00:00
|
|
|
|
2019-08-31 00:40:57 +00:00
|
|
|
const/4 v3, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-08-31 00:40:57 +00:00
|
|
|
const/4 v4, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-08-31 00:40:57 +00:00
|
|
|
const/4 v5, 0x6
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-08-31 00:40:57 +00:00
|
|
|
const/4 v6, 0x0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-object v2, p1
|
|
|
|
|
2019-08-31 00:40:57 +00:00
|
|
|
invoke-static/range {v1 .. v6}, Lcom/discord/widgets/settings/WidgetSettingsVoice$Companion;->launch$default(Lcom/discord/widgets/settings/WidgetSettingsVoice$Companion;Landroid/content/Context;Ljava/lang/Integer;ZILjava/lang/Object;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
:sswitch_1
|
2019-07-24 11:27:29 +00:00
|
|
|
const-string v1, "/nitro"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
if-eqz v0, :cond_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-01 14:15:45 +00:00
|
|
|
sget-object v0, Lcom/discord/widgets/settings/premium/WidgetSettingsPremium;->Companion:Lcom/discord/widgets/settings/premium/WidgetSettingsPremium$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-16 21:39:58 +00:00
|
|
|
iget-object v1, p0, Lcom/discord/utilities/intent/RouteHandlers$selectSettings$1;->$uri:Landroid/net/Uri;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-string v2, "success"
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v1, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
:cond_1
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v1, ""
|
|
|
|
|
|
|
|
:goto_0
|
2019-10-01 14:15:45 +00:00
|
|
|
invoke-virtual {v0, p1, v1}, Lcom/discord/widgets/settings/premium/WidgetSettingsPremium$Companion;->onSuccess(Landroid/content/Context;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
:sswitch_2
|
2019-07-24 11:27:29 +00:00
|
|
|
const-string v1, "/billing"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
if-eqz v0, :cond_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/widgets/settings/billing/WidgetSettingsBilling;->Companion:Lcom/discord/widgets/settings/billing/WidgetSettingsBilling$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/discord/widgets/settings/billing/WidgetSettingsBilling$Companion;->launch(Landroid/content/Context;)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
:sswitch_3
|
2019-07-24 11:27:29 +00:00
|
|
|
const-string v1, "/game"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
if-eqz v0, :cond_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/widgets/settings/WidgetSettingsGameActivity;->Companion:Lcom/discord/widgets/settings/WidgetSettingsGameActivity$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/discord/widgets/settings/WidgetSettingsGameActivity$Companion;->launch(Landroid/content/Context;)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
:cond_2
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_1
|
2019-07-24 11:27:29 +00:00
|
|
|
sget-object v0, Lcom/discord/widgets/settings/WidgetSettings;->Companion:Lcom/discord/widgets/settings/WidgetSettings$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/discord/widgets/settings/WidgetSettings$Companion;->launch(Landroid/content/Context;)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_2
|
2019-07-24 11:27:29 +00:00
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
return p1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_3
|
|
|
|
const-string p1, "ctx"
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
nop
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
:sswitch_data_0
|
|
|
|
.sparse-switch
|
|
|
|
0x2c69ca1 -> :sswitch_3
|
|
|
|
0xbcb5f6c -> :sswitch_2
|
|
|
|
0x56735b47 -> :sswitch_1
|
|
|
|
0x56e6a663 -> :sswitch_0
|
|
|
|
.end sparse-switch
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|