2020-07-08 16:44:49 +00:00
|
|
|
.class public final Lcom/discord/widgets/home/WidgetMainSurveyDialog$Companion;
|
2020-05-17 12:40:10 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "WidgetMainSurveyDialog.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
2020-07-08 16:44:49 +00:00
|
|
|
value = Lcom/discord/widgets/home/WidgetMainSurveyDialog;
|
2020-05-17 12:40:10 +00:00
|
|
|
.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
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/home/WidgetMainSurveyDialog$Companion;-><init>()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public static synthetic show$default(Lcom/discord/widgets/home/WidgetMainSurveyDialog$Companion;Landroidx/fragment/app/FragmentManager;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
and-int/lit8 p5, p5, 0x8
|
|
|
|
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
|
|
|
|
const/4 p4, 0x0
|
|
|
|
|
|
|
|
:cond_0
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p0, p1, p2, p3, p4}, Lcom/discord/widgets/home/WidgetMainSurveyDialog$Companion;->show(Landroidx/fragment/app/FragmentManager;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final show(Landroidx/fragment/app/FragmentManager;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.locals 3
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "fragmentManager"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-22 07:09:10 +00:00
|
|
|
invoke-static {p1, v0}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "surveyId"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-22 07:09:10 +00:00
|
|
|
invoke-static {p2, v0}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const-string v0, "surveyUrl"
|
|
|
|
|
2020-09-22 07:09:10 +00:00
|
|
|
invoke-static {p3, v0}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
new-instance v0, Lcom/discord/widgets/home/WidgetMainSurveyDialog;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {v0}, Lcom/discord/widgets/home/WidgetMainSurveyDialog;-><init>()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
new-instance v1, Landroid/os/Bundle;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Landroid/os/Bundle;-><init>()V
|
|
|
|
|
|
|
|
const-string v2, "extra_survey_id"
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2, p2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const-string p2, "extra_survey_url"
|
|
|
|
|
|
|
|
invoke-virtual {v1, p2, p3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
if-eqz p4, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-09-22 07:09:10 +00:00
|
|
|
const p2, 0x7f121080
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p2}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p4
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string p2, "getString(R.string.notice_survey_prompt)"
|
|
|
|
|
2020-09-22 07:09:10 +00:00
|
|
|
invoke-static {p4, p2}, Lc0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
:goto_0
|
|
|
|
const-string p2, "extra_survey_body"
|
|
|
|
|
|
|
|
invoke-virtual {v1, p2, p4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Landroidx/fragment/app/Fragment;->setArguments(Landroid/os/Bundle;)V
|
|
|
|
|
|
|
|
const-string p2, "WidgetMainSurveyDialog"
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1, p2}, Lcom/discord/app/AppDialog;->show(Landroidx/fragment/app/FragmentManager;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|