apkfuckery/com.discord/smali/com/discord/widgets/channels/WidgetTextChannelSettings$Companion.smali

70 lines
1.8 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public final Lcom/discord/widgets/channels/WidgetTextChannelSettings$Companion;
.super Ljava/lang/Object;
.source "WidgetTextChannelSettings.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/widgets/channels/WidgetTextChannelSettings;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>()V
2019-07-24 11:27:29 +00:00
.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/WidgetTextChannelSettings$Companion;-><init>()V
return-void
.end method
# virtual methods
.method public final launch(JLandroid/content/Context;)V
2019-12-18 07:41:41 +00:00
.locals 2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p3, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-18 07:41:41 +00:00
new-instance v0, Landroid/content/Intent;
2019-07-24 11:27:29 +00:00
2019-12-18 07:41:41 +00:00
invoke-direct {v0}, Landroid/content/Intent;-><init>()V
2019-07-24 11:27:29 +00:00
2019-12-18 07:41:41 +00:00
const-string v1, "com.discord.intent.extra.EXTRA_CHANNEL_ID"
2019-07-24 11:27:29 +00:00
2019-12-18 07:41:41 +00:00
invoke-virtual {v0, v1, p1, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent;
2019-07-24 11:27:29 +00:00
move-result-object p1
2019-10-01 14:15:45 +00:00
const-string p2, "Intent()\n .putE\u2026RA_CHANNEL_ID, channelId)"
2019-12-20 07:00:35 +00:00
invoke-static {p1, p2}, Lm/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-10-01 14:15:45 +00:00
2019-07-24 11:27:29 +00:00
const-class p2, Lcom/discord/widgets/channels/WidgetTextChannelSettings;
2019-12-18 07:41:41 +00:00
invoke-static {p3, p2, p1}, Le/a/b/h;->b(Landroid/content/Context;Ljava/lang/Class;Landroid/content/Intent;)V
2019-07-24 11:27:29 +00:00
return-void
2019-12-06 03:29:40 +00:00
:cond_0
const-string p1, "context"
2019-12-20 07:00:35 +00:00
invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V
2019-12-18 07:41:41 +00:00
const/4 p1, 0x0
2019-12-06 03:29:40 +00:00
2019-12-18 07:41:41 +00:00
throw p1
2019-07-24 11:27:29 +00:00
.end method