118 lines
3.3 KiB
Smali
118 lines
3.3 KiB
Smali
.class public final Lcom/discord/widgets/chat/managereactions/WidgetManageReactions$Companion;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetManageReactions.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/widgets/chat/managereactions/WidgetManageReactions;
|
|
.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/managereactions/WidgetManageReactions$Companion;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic create$default(Lcom/discord/widgets/chat/managereactions/WidgetManageReactions$Companion;JJLandroid/content/Context;Lcom/discord/models/domain/ModelMessageReaction;ILjava/lang/Object;)V
|
|
.locals 7
|
|
|
|
and-int/lit8 p7, p7, 0x8
|
|
|
|
if-eqz p7, :cond_0
|
|
|
|
const/4 p6, 0x0
|
|
|
|
:cond_0
|
|
move-object v6, p6
|
|
|
|
move-object v0, p0
|
|
|
|
move-wide v1, p1
|
|
|
|
move-wide v3, p3
|
|
|
|
move-object v5, p5
|
|
|
|
invoke-virtual/range {v0 .. v6}, Lcom/discord/widgets/chat/managereactions/WidgetManageReactions$Companion;->create(JJLandroid/content/Context;Lcom/discord/models/domain/ModelMessageReaction;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final create(JJLandroid/content/Context;Lcom/discord/models/domain/ModelMessageReaction;)V
|
|
.locals 2
|
|
|
|
const-string v0, "context"
|
|
|
|
invoke-static {p5, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/content/Intent;
|
|
|
|
invoke-direct {v0}, Landroid/content/Intent;-><init>()V
|
|
|
|
const-string v1, "com.discord.intent.extra.EXTRA_CHANNEL_ID"
|
|
|
|
invoke-virtual {v0, v1, p1, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "com.discord.intent.extra.EXTRA_MESSAGE_ID"
|
|
|
|
invoke-virtual {p1, p2, p3, p4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p6, :cond_0
|
|
|
|
invoke-virtual {p6}, Lcom/discord/models/domain/ModelMessageReaction;->getEmoji()Lcom/discord/models/domain/ModelMessageReaction$Emoji;
|
|
|
|
move-result-object p2
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
invoke-virtual {p2}, Lcom/discord/models/domain/ModelMessageReaction$Emoji;->getKey()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p2, 0x0
|
|
|
|
:goto_0
|
|
const-string p3, "com.discord.intent.extra.EXTRA_EMOJI_KEY"
|
|
|
|
invoke-virtual {p1, p3, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "Intent()\n .putE\u2026etedReaction?.emoji?.key)"
|
|
|
|
invoke-static {p1, p2}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-class p2, Lcom/discord/widgets/chat/managereactions/WidgetManageReactions;
|
|
|
|
invoke-static {p5, p2, p1}, Lf/a/b/m;->e(Landroid/content/Context;Ljava/lang/Class;Landroid/content/Intent;)V
|
|
|
|
return-void
|
|
.end method
|