115 lines
2.9 KiB
Smali
115 lines
2.9 KiB
Smali
.class public final Lcom/discord/widgets/home/WidgetHome$showUrgentMessageDialog$1;
|
|
.super Lb0/n/c/k;
|
|
.source "WidgetHome.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/home/WidgetHome;->showUrgentMessageDialog()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lb0/n/c/k;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"Landroidx/fragment/app/FragmentActivity;",
|
|
"Ljava/lang/Boolean;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final INSTANCE:Lcom/discord/widgets/home/WidgetHome$showUrgentMessageDialog$1;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
new-instance v0, Lcom/discord/widgets/home/WidgetHome$showUrgentMessageDialog$1;
|
|
|
|
invoke-direct {v0}, Lcom/discord/widgets/home/WidgetHome$showUrgentMessageDialog$1;-><init>()V
|
|
|
|
sput-object v0, Lcom/discord/widgets/home/WidgetHome$showUrgentMessageDialog$1;->INSTANCE:Lcom/discord/widgets/home/WidgetHome$showUrgentMessageDialog$1;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-direct {p0, v0}, Lb0/n/c/k;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p1, Landroidx/fragment/app/FragmentActivity;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/home/WidgetHome$showUrgentMessageDialog$1;->invoke(Landroidx/fragment/app/FragmentActivity;)Z
|
|
|
|
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
|
|
.locals 2
|
|
|
|
const-string v0, "activity"
|
|
|
|
invoke-static {p1, v0}, Lb0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
sget-object v0, Lf/a/a/t;->i:Lf/a/a/t$a;
|
|
|
|
invoke-virtual {p1}, Landroidx/fragment/app/FragmentActivity;->getSupportFragmentManager()Landroidx/fragment/app/FragmentManager;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v1, "activity.supportFragmentManager"
|
|
|
|
invoke-static {p1, v1}, Lb0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const-string v0, "fragmentManager"
|
|
|
|
invoke-static {p1, v0}, Lb0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Lf/a/a/t;
|
|
|
|
invoke-direct {v0}, Lf/a/a/t;-><init>()V
|
|
|
|
const-string v1, "WidgetUrgentMessageDialog"
|
|
|
|
invoke-virtual {v0, p1, v1}, Lcom/discord/app/AppDialog;->show(Landroidx/fragment/app/FragmentManager;Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|