107 lines
3.6 KiB
Smali
107 lines
3.6 KiB
Smali
|
.class public final Lcom/discord/widgets/chat/input/emoji/WidgetEmojiPickerSheet$Companion;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "WidgetEmojiPickerSheet.kt"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lcom/discord/widgets/chat/input/emoji/WidgetEmojiPickerSheet;
|
||
|
.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/chat/input/emoji/WidgetEmojiPickerSheet$Companion;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic show$default(Lcom/discord/widgets/chat/input/emoji/WidgetEmojiPickerSheet$Companion;Landroidx/fragment/app/FragmentManager;Lcom/discord/widgets/chat/input/emoji/EmojiPickerListener;Lcom/discord/widgets/chat/input/emoji/EmojiContextType;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V
|
||
|
.locals 0
|
||
|
|
||
|
and-int/lit8 p5, p5, 0x8
|
||
|
|
||
|
if-eqz p5, :cond_0
|
||
|
|
||
|
const/4 p4, 0x0
|
||
|
|
||
|
:cond_0
|
||
|
invoke-virtual {p0, p1, p2, p3, p4}, Lcom/discord/widgets/chat/input/emoji/WidgetEmojiPickerSheet$Companion;->show(Landroidx/fragment/app/FragmentManager;Lcom/discord/widgets/chat/input/emoji/EmojiPickerListener;Lcom/discord/widgets/chat/input/emoji/EmojiContextType;Lkotlin/jvm/functions/Function0;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public final show(Landroidx/fragment/app/FragmentManager;Lcom/discord/widgets/chat/input/emoji/EmojiPickerListener;Lcom/discord/widgets/chat/input/emoji/EmojiContextType;Lkotlin/jvm/functions/Function0;)V
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Landroidx/fragment/app/FragmentManager;",
|
||
|
"Lcom/discord/widgets/chat/input/emoji/EmojiPickerListener;",
|
||
|
"Lcom/discord/widgets/chat/input/emoji/EmojiContextType;",
|
||
|
"Lkotlin/jvm/functions/Function0<",
|
||
|
"Lkotlin/Unit;",
|
||
|
">;)V"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
if-eqz p1, :cond_1
|
||
|
|
||
|
new-instance v0, Lcom/discord/widgets/chat/input/emoji/WidgetEmojiPickerSheet;
|
||
|
|
||
|
invoke-direct {v0}, Lcom/discord/widgets/chat/input/emoji/WidgetEmojiPickerSheet;-><init>()V
|
||
|
|
||
|
if-eqz p3, :cond_0
|
||
|
|
||
|
new-instance v1, Landroid/os/Bundle;
|
||
|
|
||
|
invoke-direct {v1}, Landroid/os/Bundle;-><init>()V
|
||
|
|
||
|
const-string v2, "ARG_EMOJI_CONTEXT_TYPE"
|
||
|
|
||
|
invoke-virtual {v1, v2, p3}, Landroid/os/Bundle;->putSerializable(Ljava/lang/String;Ljava/io/Serializable;)V
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroidx/fragment/app/Fragment;->setArguments(Landroid/os/Bundle;)V
|
||
|
|
||
|
:cond_0
|
||
|
invoke-virtual {v0, p2}, Lcom/discord/widgets/chat/input/emoji/WidgetEmojiPickerSheet;->setEmojiPickerListener(Lcom/discord/widgets/chat/input/emoji/EmojiPickerListener;)V
|
||
|
|
||
|
invoke-virtual {v0, p4}, Lcom/discord/widgets/chat/input/emoji/WidgetEmojiPickerSheet;->setOnCancel(Lkotlin/jvm/functions/Function0;)V
|
||
|
|
||
|
const-class p2, Lcom/discord/widgets/chat/input/emoji/WidgetEmojiPickerSheet;
|
||
|
|
||
|
invoke-virtual {p2}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
invoke-virtual {v0, p1, p2}, Lcom/discord/app/AppBottomSheet;->show(Landroidx/fragment/app/FragmentManager;Ljava/lang/String;)V
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_1
|
||
|
const-string p1, "fragmentManager"
|
||
|
|
||
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||
|
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
throw p1
|
||
|
.end method
|