108 lines
2.8 KiB
Smali
108 lines
2.8 KiB
Smali
.class public final Lcom/discord/widgets/guilds/list/WidgetGuildSelector$Companion;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetGuildSelector.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/widgets/guilds/list/WidgetGuildSelector;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Companion"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/guilds/list/WidgetGuildSelector$Companion;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static createForResult$default(Lcom/discord/widgets/guilds/list/WidgetGuildSelector$Companion;Landroidx/fragment/app/Fragment;Ljava/util/List;ILjava/lang/Object;)V
|
|
.locals 0
|
|
|
|
and-int/lit8 p3, p3, 0x2
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
sget-object p2, Lj0/i/o;->d:Lj0/i/o;
|
|
|
|
:cond_0
|
|
invoke-virtual {p0, p1, p2}, Lcom/discord/widgets/guilds/list/WidgetGuildSelector$Companion;->createForResult(Landroidx/fragment/app/Fragment;Ljava/util/List;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final createForResult(Landroidx/fragment/app/Fragment;Ljava/util/List;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroidx/fragment/app/Fragment;",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/Long;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
new-instance v0, Landroid/content/Intent;
|
|
|
|
invoke-direct {v0}, Landroid/content/Intent;-><init>()V
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v1, p2}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
|
|
|
const-string p2, "EXTRA_IGNORED_GUILD_IDS"
|
|
|
|
invoke-virtual {v0, p2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;
|
|
|
|
move-result-object p2
|
|
|
|
const-string v0, "Intent().putExtra(EXTRA_\u2026rayList(ignoredGuildIds))"
|
|
|
|
invoke-static {p2, v0}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-class v0, Lcom/discord/widgets/guilds/list/WidgetGuildSelector;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-static {p1, v0, p2, v1}, Lf/a/b/l;->g(Landroidx/fragment/app/Fragment;Ljava/lang/Class;Landroid/content/Intent;I)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "ignoredGuildIds"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p1, "fragment"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|