apkfuckery/com.discord/smali_classes2/q.smali
2020-03-29 20:47:20 +02:00

160 lines
3.6 KiB
Smali

.class public final Lq;
.super Lcom/discord/app/AppBottomSheet;
.source "WidgetGuildCallOnboardingSheet.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lq$a;
}
.end annotation
# static fields
.field public static final synthetic e:[Lkotlin/reflect/KProperty;
.field public static final f:Lq$a;
# instance fields
.field public final d:Lkotlin/properties/ReadOnlyProperty;
# direct methods
.method public static constructor <clinit>()V
.locals 5
const/4 v0, 0x1
new-array v0, v0, [Lkotlin/reflect/KProperty;
new-instance v1, Ly/u/b/u;
const-class v2, Lq;
invoke-static {v2}, Ly/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/y/b;
move-result-object v2
const-string v3, "connectToVoice"
const-string v4, "getConnectToVoice()Lcom/google/android/material/button/MaterialButton;"
invoke-direct {v1, v2, v3, v4}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
sget-object v2, Ly/u/b/w;->a:Ly/u/b/x;
invoke-virtual {v2, v1}, Ly/u/b/x;->property1(Ly/u/b/t;)Ly/y/d;
const/4 v2, 0x0
aput-object v1, v0, v2
sput-object v0, Lq;->e:[Lkotlin/reflect/KProperty;
new-instance v0, Lq$a;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lq$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lq;->f:Lq$a;
return-void
.end method
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Lcom/discord/app/AppBottomSheet;-><init>()V
const v0, 0x7f0a0392
invoke-static {p0, v0}, Lz/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lq;->d:Lkotlin/properties/ReadOnlyProperty;
return-void
.end method
.method public static final synthetic a(Lq;J)V
.locals 0
invoke-virtual {p0, p1, p2}, Lq;->tryConnectToVoice(J)V
return-void
.end method
# virtual methods
.method public getContentViewResId()I
.locals 1
const v0, 0x7f0d019d
return v0
.end method
.method public onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
.locals 3
if-eqz p1, :cond_0
invoke-super {p0, p1, p2}, Lcom/discord/app/AppBottomSheet;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
invoke-virtual {p0}, Lcom/discord/app/AppBottomSheet;->getArgumentsOrDefault()Landroid/os/Bundle;
move-result-object p1
const-string p2, "com.discord.intent.extra.EXTRA_CHANNEL_ID"
invoke-virtual {p1, p2}, Landroid/os/Bundle;->getLong(Ljava/lang/String;)J
move-result-wide p1
iget-object v0, p0, Lq;->d:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lq;->e:[Lkotlin/reflect/KProperty;
const/4 v2, 0x0
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/google/android/material/button/MaterialButton;
new-instance v1, Lq$b;
invoke-direct {v1, p0, p1, p2}, Lq$b;-><init>(Lq;J)V
invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
return-void
:cond_0
const-string p1, "view"
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public final tryConnectToVoice(J)V
.locals 1
new-instance v0, Lq$c;
invoke-direct {v0, p0, p1, p2}, Lq$c;-><init>(Lq;J)V
invoke-virtual {p0, v0}, Lcom/discord/app/AppBottomSheet;->requestMicrophone(Lrx/functions/Action0;)V
return-void
.end method