apkfuckery/com.discord/smali/f/a/b/h.smali
2020-04-17 21:35:49 +02:00

1127 lines
27 KiB
Smali

.class public final Lf/a/b/h;
.super Ljava/lang/Object;
.source "AppScreen.kt"
# static fields
.field public static final a:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ly/y/b<",
"+",
"Lcom/discord/app/AppFragment;",
">;>;"
}
.end annotation
.end field
.field public static final b:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ly/y/b<",
"+",
"Lcom/discord/app/AppFragment;",
">;>;"
}
.end annotation
.end field
.field public static final c:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ly/y/b<",
"+",
"Lcom/discord/widgets/user/account/WidgetUserAccountVerifyBase;",
">;>;"
}
.end annotation
.end field
.field public static final d:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ly/y/b<",
"+",
"Lcom/discord/app/AppFragment;",
">;>;"
}
.end annotation
.end field
.field public static final e:Lf/a/b/h;
# direct methods
.method public static constructor <clinit>()V
.locals 10
new-instance v0, Lf/a/b/h;
invoke-direct {v0}, Lf/a/b/h;-><init>()V
sput-object v0, Lf/a/b/h;->e:Lf/a/b/h;
const/4 v0, 0x6
new-array v1, v0, [Ly/y/b;
const-class v2, Lcom/discord/widgets/auth/WidgetAuthLanding;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/4 v3, 0x0
aput-object v2, v1, v3
const-class v2, Lcom/discord/widgets/auth/WidgetAuthLogin;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/4 v4, 0x1
aput-object v2, v1, v4
const-class v2, Lcom/discord/widgets/auth/WidgetAuthRegister;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/4 v5, 0x2
aput-object v2, v1, v5
const-class v2, Lcom/discord/widgets/auth/WidgetAuthUndeleteAccount;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/4 v6, 0x3
aput-object v2, v1, v6
const-class v2, Lcom/discord/widgets/auth/WidgetAuthCaptcha;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/4 v7, 0x4
aput-object v2, v1, v7
const-class v2, Lcom/discord/widgets/auth/WidgetAuthMfa;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/4 v8, 0x5
aput-object v2, v1, v8
invoke-static {v1}, Lf/n/a/j/a;->listOf([Ljava/lang/Object;)Ljava/util/List;
move-result-object v1
sput-object v1, Lf/a/b/h;->a:Ljava/util/List;
const/16 v1, 0x26
new-array v1, v1, [Ly/y/b;
const-class v2, Lcom/discord/widgets/settings/account/WidgetSettingsAccount;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
aput-object v2, v1, v3
const-class v2, Lcom/discord/widgets/settings/account/WidgetSettingsAccountBackupCodes;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
aput-object v2, v1, v4
const-class v2, Lcom/discord/widgets/settings/account/WidgetSettingsAccountChangePassword;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
aput-object v2, v1, v5
const-class v2, Lcom/discord/widgets/settings/account/WidgetSettingsAccountEdit;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
aput-object v2, v1, v6
const-class v2, Lcom/discord/widgets/settings/account/mfa/WidgetEnableMFASteps;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
aput-object v2, v1, v7
const-class v2, Lcom/discord/widgets/settings/WidgetSettingsAppearance;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
aput-object v2, v1, v8
const-class v2, Lcom/discord/widgets/settings/WidgetSettingsBehavior;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
aput-object v2, v1, v0
const-class v2, Lcom/discord/widgets/settings/billing/WidgetSettingsBilling;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/4 v9, 0x7
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/settings/WidgetSettingsLanguage;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x8
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/settings/WidgetSettingsMedia;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x9
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/settings/premium/WidgetSettingsPremium;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0xa
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/settings/premium/WidgetSettingsPremiumSwitchPlan;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0xb
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/settings/WidgetSettingsNotifications;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0xc
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/settings/WidgetSettingsUserConnections;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0xd
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/settings/WidgetSettingsVoice;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0xe
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/settings/WidgetSettingsPrivacy;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0xf
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/settings/WidgetSettingsAuthorizedApps;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x10
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/servers/WidgetServerNotifications;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x11
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/servers/WidgetServerSettingsOverview;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x12
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/servers/WidgetServerSettingsChannels;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x13
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/servers/WidgetServerSettingsEditMember;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x14
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/servers/WidgetServerSettingsEditRole;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x15
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/servers/WidgetServerSettingsIntegrations;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x16
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/servers/WidgetServerSettingsModeration;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x17
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/servers/WidgetServerSettingsVanityUrl;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x18
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/servers/WidgetServerSettingsSecurity;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x19
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/servers/WidgetServerSettingsMembers;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x1a
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/servers/WidgetServerSettingsEmojis;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x1b
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/servers/WidgetServerSettingsEmojisEdit;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x1c
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/servers/WidgetServerSettingsRolesList;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x1d
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/servers/WidgetServerSettingsInstantInvites;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x1e
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/servers/WidgetServerSettingsBans;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x1f
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/channels/WidgetChannelSettingsEditPermissions;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x20
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/channels/WidgetChannelSettingsPermissionsOverview;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x21
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/auth/WidgetAuthRegister;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x22
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/auth/WidgetAuthLogin;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x23
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/settings/WidgetSettingsDeveloper;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x24
aput-object v2, v1, v9
const-class v2, Lcom/discord/widgets/settings/account/WidgetSettingsBlockedUsers;
invoke-static {v2}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const/16 v9, 0x25
aput-object v2, v1, v9
invoke-static {v1}, Lf/n/a/j/a;->listOf([Ljava/lang/Object;)Ljava/util/List;
move-result-object v1
sput-object v1, Lf/a/b/h;->b:Ljava/util/List;
new-array v0, v0, [Ly/y/b;
const-class v1, Lcom/discord/widgets/user/account/WidgetUserAccountVerify;
invoke-static {v1}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v1
aput-object v1, v0, v3
const-class v1, Lcom/discord/widgets/user/email/WidgetUserEmailVerify;
invoke-static {v1}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v1
aput-object v1, v0, v4
const-class v1, Lcom/discord/widgets/user/email/WidgetUserEmailUpdate;
invoke-static {v1}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v1
aput-object v1, v0, v5
const-class v1, Lcom/discord/widgets/user/phone/WidgetUserPhoneAdd;
invoke-static {v1}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v1
aput-object v1, v0, v6
const-class v1, Lcom/discord/widgets/user/phone/WidgetUserPhoneVerify;
invoke-static {v1}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v1
aput-object v1, v0, v7
const-class v1, Lcom/discord/widgets/user/captcha/WidgetUserCaptchaVerify;
invoke-static {v1}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v1
aput-object v1, v0, v8
invoke-static {v0}, Lf/n/a/j/a;->listOf([Ljava/lang/Object;)Ljava/util/List;
move-result-object v0
sput-object v0, Lf/a/b/h;->c:Ljava/util/List;
new-array v0, v5, [Ly/y/b;
const-class v1, Lcom/discord/widgets/settings/billing/WidgetSettingsBilling;
invoke-static {v1}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v1
aput-object v1, v0, v3
const-class v1, Lcom/discord/widgets/spectate/WidgetSpectate;
invoke-static {v1}, Ly/u/b/x;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v1
aput-object v1, v0, v4
invoke-static {v0}, Lf/n/a/j/a;->listOf([Ljava/lang/Object;)Ljava/util/List;
move-result-object v0
sput-object v0, Lf/a/b/h;->d:Ljava/util/List;
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static final a(Landroid/content/Context;)V
.locals 3
const/4 v0, 0x0
const/4 v1, 0x0
const/4 v2, 0x6
invoke-static {p0, v0, v1, v2}, Lf/a/b/h;->a(Landroid/content/Context;ZLandroid/content/Intent;I)V
return-void
.end method
.method public static synthetic a(Landroid/content/Context;Ljava/lang/Class;Landroid/content/Intent;I)V
.locals 0
and-int/lit8 p3, p3, 0x4
if-eqz p3, :cond_0
const/4 p2, 0x0
:cond_0
invoke-static {p0, p1, p2}, Lf/a/b/h;->b(Landroid/content/Context;Ljava/lang/Class;Landroid/content/Intent;)V
return-void
.end method
.method public static final a(Landroid/content/Context;ZLandroid/content/Intent;)V
.locals 1
if-eqz p0, :cond_4
if-eqz p1, :cond_3
sget-object p1, Lcom/discord/widgets/tabs/TabsFeatureFlag;->Companion:Lcom/discord/widgets/tabs/TabsFeatureFlag$Companion;
invoke-virtual {p1}, Lcom/discord/widgets/tabs/TabsFeatureFlag$Companion;->getINSTANCE()Lcom/discord/widgets/tabs/TabsFeatureFlag;
move-result-object p1
invoke-virtual {p1}, Lcom/discord/widgets/tabs/TabsFeatureFlag;->isEnabled()Z
move-result p1
if-eqz p1, :cond_2
const/4 p1, 0x0
if-eqz p2, :cond_0
const-string v0, "com.discord.intent.extra.EXTRA_OPEN_DRAWER"
invoke-virtual {p2, v0, p1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z
move-result p1
:cond_0
if-eqz p1, :cond_1
sget-object p1, Lcom/discord/stores/StoreNavigation$DrawerAction;->OPEN:Lcom/discord/stores/StoreNavigation$DrawerAction;
goto :goto_0
:cond_1
sget-object p1, Lcom/discord/stores/StoreNavigation$DrawerAction;->CLOSE:Lcom/discord/stores/StoreNavigation$DrawerAction;
:goto_0
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getTabsNavigation()Lcom/discord/stores/StoreTabsNavigation;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/discord/stores/StoreTabsNavigation;->selectHomeTab(Lcom/discord/stores/StoreNavigation$DrawerAction;)V
const-class p1, Lcom/discord/widgets/tabs/WidgetTabsHost;
goto :goto_1
:cond_2
const-class p1, Lcom/discord/widgets/main/WidgetMain;
goto :goto_1
:cond_3
const-class p1, Lcom/discord/widgets/auth/WidgetAuthLanding;
:goto_1
invoke-static {p0, p1, p2}, Lf/a/b/h;->b(Landroid/content/Context;Ljava/lang/Class;Landroid/content/Intent;)V
return-void
:cond_4
const-string p0, "context"
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
const/4 p0, 0x0
throw p0
.end method
.method public static synthetic a(Landroid/content/Context;ZLandroid/content/Intent;I)V
.locals 1
and-int/lit8 v0, p3, 0x2
if-eqz v0, :cond_0
const/4 p1, 0x1
:cond_0
and-int/lit8 p3, p3, 0x4
if-eqz p3, :cond_1
const/4 p2, 0x0
:cond_1
invoke-static {p0, p1, p2}, Lf/a/b/h;->a(Landroid/content/Context;ZLandroid/content/Intent;)V
return-void
.end method
.method public static final a(Landroidx/fragment/app/Fragment;Ljava/lang/Class;Landroid/content/Intent;I)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/fragment/app/Fragment;",
"Ljava/lang/Class<",
"+",
"Lcom/discord/app/AppComponent;",
">;",
"Landroid/content/Intent;",
"I)V"
}
.end annotation
const/4 v0, 0x0
if-eqz p0, :cond_2
if-eqz p1, :cond_1
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
move-result-object v0
if-eqz v0, :cond_0
sget-object v1, Lf/a/b/h;->e:Lf/a/b/h;
invoke-virtual {v1, v0, p1, p2}, Lf/a/b/h;->a(Landroid/content/Context;Ljava/lang/Class;Landroid/content/Intent;)Landroid/content/Intent;
move-result-object p1
invoke-virtual {p0, p1, p3}, Landroidx/fragment/app/Fragment;->startActivityForResult(Landroid/content/Intent;I)V
:cond_0
return-void
:cond_1
const-string p0, "screen"
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_2
const-string p0, "fragment"
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public static final b(Landroid/content/Context;)V
.locals 3
if-eqz p0, :cond_0
new-instance v0, Landroid/content/Intent;
invoke-direct {v0}, Landroid/content/Intent;-><init>()V
const/high16 v1, 0x4000000
invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;
const/4 v1, 0x0
const/4 v2, 0x2
invoke-static {p0, v1, v0, v2}, Lf/a/b/h;->a(Landroid/content/Context;ZLandroid/content/Intent;I)V
return-void
:cond_0
const-string p0, "context"
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
const/4 p0, 0x0
throw p0
.end method
.method public static final b(Landroid/content/Context;Ljava/lang/Class;Landroid/content/Intent;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Ljava/lang/Class<",
"+",
"Lcom/discord/app/AppComponent;",
">;",
"Landroid/content/Intent;",
")V"
}
.end annotation
const/4 v0, 0x0
if-eqz p0, :cond_1
if-eqz p1, :cond_0
sget-object v0, Lf/a/b/h;->e:Lf/a/b/h;
invoke-virtual {v0, p0, p1, p2}, Lf/a/b/h;->a(Landroid/content/Context;Ljava/lang/Class;Landroid/content/Intent;)Landroid/content/Intent;
move-result-object p1
invoke-virtual {p0, p1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
return-void
:cond_0
const-string p0, "screen"
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "context"
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
# virtual methods
.method public final a(Landroid/content/Context;Ljava/lang/Class;Landroid/content/Intent;)Landroid/content/Intent;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Ljava/lang/Class<",
"+",
"Lcom/discord/app/AppComponent;",
">;",
"Landroid/content/Intent;",
")",
"Landroid/content/Intent;"
}
.end annotation
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v0
const-string v1, "javaClass.simpleName"
invoke-static {v0, v1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p2}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v1
const-string v2, "screen.simpleName"
invoke-static {v1, v2}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v0, v1}, Lcom/discord/app/AppLog;->a(Ljava/lang/String;Ljava/lang/String;)V
new-instance v0, Landroid/content/Intent;
const-class v1, Lcom/discord/app/AppActivity;
invoke-direct {v0, p1, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
if-eqz p3, :cond_0
invoke-virtual {p3}, Landroid/content/Intent;->getFlags()I
move-result p1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
invoke-virtual {v0, p1}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;
const-string p1, "com.discord.intent.extra.EXTRA_SCREEN"
invoke-virtual {v0, p1, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;
if-eqz p3, :cond_1
invoke-virtual {v0, p3}, Landroid/content/Intent;->putExtras(Landroid/content/Intent;)Landroid/content/Intent;
invoke-virtual {p3}, Landroid/content/Intent;->getData()Landroid/net/Uri;
move-result-object p1
invoke-virtual {v0, p1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;
:cond_1
return-object v0
.end method
.method public final a()Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Ly/y/b<",
"+",
"Lcom/discord/app/AppFragment;",
">;>;"
}
.end annotation
sget-object v0, Lf/a/b/h;->a:Ljava/util/List;
return-object v0
.end method
.method public final a(Landroidx/fragment/app/FragmentManager;Landroid/content/Context;Ljava/lang/Class;I)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/fragment/app/FragmentManager;",
"Landroid/content/Context;",
"Ljava/lang/Class<",
"+",
"Lcom/discord/app/AppComponent;",
">;I)V"
}
.end annotation
const/4 v0, 0x0
if-eqz p2, :cond_2
if-eqz p3, :cond_1
if-nez p1, :cond_0
return-void
:cond_0
invoke-virtual {p1}, Landroidx/fragment/app/FragmentManager;->beginTransaction()Landroidx/fragment/app/FragmentTransaction;
move-result-object p1
const-string v0, "fragmentManager.beginTransaction()"
invoke-static {p1, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p3}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v0
invoke-static {p2, v0}, Landroidx/fragment/app/Fragment;->instantiate(Landroid/content/Context;Ljava/lang/String;)Landroidx/fragment/app/Fragment;
move-result-object p2
const-string v0, "Fragment.instantiate(context, screen.name)"
invoke-static {p2, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p3}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object p3
invoke-virtual {p1, p4, p2, p3}, Landroidx/fragment/app/FragmentTransaction;->replace(ILandroidx/fragment/app/Fragment;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;
invoke-virtual {p1}, Landroidx/fragment/app/FragmentTransaction;->commit()I
return-void
:cond_1
const-string p1, "screen"
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_2
const-string p1, "context"
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public final a(Lcom/discord/app/AppActivity;)Z
.locals 3
if-eqz p1, :cond_1
invoke-virtual {p1}, Lcom/discord/app/AppActivity;->d()Landroid/content/Intent;
move-result-object v0
const/4 v1, 0x0
const-string v2, "INTENT_RECREATE"
invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z
move-result v0
if-eqz v0, :cond_0
invoke-virtual {p1}, Lcom/discord/app/AppActivity;->d()Landroid/content/Intent;
move-result-object v1
invoke-virtual {v1, v2}, Landroid/content/Intent;->removeExtra(Ljava/lang/String;)V
new-instance v1, Landroid/os/Handler;
invoke-direct {v1}, Landroid/os/Handler;-><init>()V
new-instance v2, Lf/a/b/h$a;
invoke-direct {v2, p1}, Lf/a/b/h$a;-><init>(Lcom/discord/app/AppActivity;)V
invoke-virtual {v1, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
:cond_0
return v0
:cond_1
const-string p1, "activity"
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public final b()Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Ly/y/b<",
"+",
"Lcom/discord/app/AppFragment;",
">;>;"
}
.end annotation
sget-object v0, Lf/a/b/h;->d:Ljava/util/List;
return-object v0
.end method
.method public final c()Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Ly/y/b<",
"+",
"Lcom/discord/app/AppFragment;",
">;>;"
}
.end annotation
sget-object v0, Lf/a/b/h;->b:Ljava/util/List;
return-object v0
.end method
.method public final d()Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Ly/y/b<",
"+",
"Lcom/discord/widgets/user/account/WidgetUserAccountVerifyBase;",
">;>;"
}
.end annotation
sget-object v0, Lf/a/b/h;->c:Ljava/util/List;
return-object v0
.end method