112 lines
2.6 KiB
Smali
112 lines
2.6 KiB
Smali
.class public final Lcom/discord/widgets/channels/WidgetGroupInviteFriends$Companion;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetGroupInviteFriends.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/widgets/channels/WidgetGroupInviteFriends;
|
|
.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/channels/WidgetGroupInviteFriends$Companion;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final launch(Landroid/content/Context;JLjava/lang/String;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
if-eqz p4, :cond_0
|
|
|
|
const-string v0, "DM Group Add"
|
|
|
|
invoke-static {v0, p4}, Lcom/discord/utilities/analytics/AnalyticsTracker;->openModal(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
new-instance p4, Landroid/content/Intent;
|
|
|
|
invoke-direct {p4}, Landroid/content/Intent;-><init>()V
|
|
|
|
const-string v0, "INTENT_EXTRA_CHANNEL_ID"
|
|
|
|
invoke-virtual {p4, v0, p2, p3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent;
|
|
|
|
const-class p2, Lcom/discord/widgets/channels/WidgetGroupInviteFriends;
|
|
|
|
invoke-static {p1, p2, p4}, Lf/a/b/k;->e(Landroid/content/Context;Ljava/lang/Class;Landroid/content/Intent;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "source"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p1, "context"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final launch(Landroid/content/Context;Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
const-string v1, "DM Group Create"
|
|
|
|
invoke-static {v1, p2}, Lcom/discord/utilities/analytics/AnalyticsTracker;->openModal(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const-class p2, Lcom/discord/widgets/channels/WidgetGroupInviteFriends;
|
|
|
|
const/4 v1, 0x4
|
|
|
|
invoke-static {p1, p2, v0, v1}, Lf/a/b/k;->f(Landroid/content/Context;Ljava/lang/Class;Landroid/content/Intent;I)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "source"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p1, "context"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|