1090 lines
33 KiB
Smali
1090 lines
33 KiB
Smali
.class public final Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;
|
|
.super Landroid/widget/FrameLayout;
|
|
.source "AnchoredVoiceControlsView.kt"
|
|
|
|
|
|
# static fields
|
|
.field public static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
# instance fields
|
|
.field public final cameraStateButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final deafenButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final disconnectButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final muteStateButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final pttButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final screenshareButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final speakerButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 5
|
|
|
|
const/4 v0, 0x7
|
|
|
|
new-array v0, v0, [Lkotlin/reflect/KProperty;
|
|
|
|
new-instance v1, Lk0/n/c/q;
|
|
|
|
const-class v2, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;
|
|
|
|
invoke-static {v2}, Lk0/n/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lk0/r/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "pttButton"
|
|
|
|
const-string v4, "getPttButton()Landroid/widget/Button;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Lk0/n/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lk0/n/c/s;->property1(Lk0/n/c/p;)Lk0/r/d;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lk0/n/c/q;
|
|
|
|
const-class v2, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;
|
|
|
|
invoke-static {v2}, Lk0/n/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lk0/r/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "cameraStateButton"
|
|
|
|
const-string v4, "getCameraStateButton()Landroid/widget/ImageView;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Lk0/n/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lk0/n/c/s;->property1(Lk0/n/c/p;)Lk0/r/d;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lk0/n/c/q;
|
|
|
|
const-class v2, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;
|
|
|
|
invoke-static {v2}, Lk0/n/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lk0/r/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "screenshareButton"
|
|
|
|
const-string v4, "getScreenshareButton()Landroid/widget/ImageView;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Lk0/n/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lk0/n/c/s;->property1(Lk0/n/c/p;)Lk0/r/d;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lk0/n/c/q;
|
|
|
|
const-class v2, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;
|
|
|
|
invoke-static {v2}, Lk0/n/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lk0/r/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "deafenButton"
|
|
|
|
const-string v4, "getDeafenButton()Landroid/widget/ImageView;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Lk0/n/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lk0/n/c/s;->property1(Lk0/n/c/p;)Lk0/r/d;
|
|
|
|
const/4 v2, 0x3
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lk0/n/c/q;
|
|
|
|
const-class v2, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;
|
|
|
|
invoke-static {v2}, Lk0/n/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lk0/r/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "speakerButton"
|
|
|
|
const-string v4, "getSpeakerButton()Landroid/widget/ImageView;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Lk0/n/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lk0/n/c/s;->property1(Lk0/n/c/p;)Lk0/r/d;
|
|
|
|
const/4 v2, 0x4
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lk0/n/c/q;
|
|
|
|
const-class v2, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;
|
|
|
|
invoke-static {v2}, Lk0/n/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lk0/r/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "muteStateButton"
|
|
|
|
const-string v4, "getMuteStateButton()Landroid/widget/ImageView;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Lk0/n/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lk0/n/c/s;->property1(Lk0/n/c/p;)Lk0/r/d;
|
|
|
|
const/4 v2, 0x5
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lk0/n/c/q;
|
|
|
|
const-class v2, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;
|
|
|
|
invoke-static {v2}, Lk0/n/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Lk0/r/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "disconnectButton"
|
|
|
|
const-string v4, "getDisconnectButton()Landroid/widget/ImageView;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Lk0/n/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Lk0/n/c/s;->property1(Lk0/n/c/p;)Lk0/r/d;
|
|
|
|
const/4 v2, 0x6
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
sput-object v0, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 6
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x6
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move-object v1, p1
|
|
|
|
invoke-direct/range {v0 .. v5}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;IILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 6
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x4
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move-object v1, p1
|
|
|
|
move-object v2, p2
|
|
|
|
invoke-direct/range {v0 .. v5}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;IILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
.locals 0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-direct {p0, p1, p2, p3}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
const p2, 0x7f0a0a69
|
|
|
|
invoke-static {p0, p2}, Lf/n/a/k/a;->h(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object p2
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->pttButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const p2, 0x7f0a0a64
|
|
|
|
invoke-static {p0, p2}, Lf/n/a/k/a;->h(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object p2
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->cameraStateButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const p2, 0x7f0a0a6a
|
|
|
|
invoke-static {p0, p2}, Lf/n/a/k/a;->h(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object p2
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->screenshareButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const p2, 0x7f0a0a66
|
|
|
|
invoke-static {p0, p2}, Lf/n/a/k/a;->h(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object p2
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->deafenButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const p2, 0x7f0a0a6b
|
|
|
|
invoke-static {p0, p2}, Lf/n/a/k/a;->h(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object p2
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->speakerButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const p2, 0x7f0a0a68
|
|
|
|
invoke-static {p0, p2}, Lf/n/a/k/a;->h(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object p2
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->muteStateButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const p2, 0x7f0a0a67
|
|
|
|
invoke-static {p0, p2}, Lf/n/a/k/a;->h(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object p2
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->disconnectButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const p2, 0x7f0d001e
|
|
|
|
invoke-static {p1, p2, p0}, Landroid/widget/FrameLayout;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "context"
|
|
|
|
invoke-static {p1}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;IILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 0
|
|
|
|
and-int/lit8 p5, p4, 0x2
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
const/4 p2, 0x0
|
|
|
|
:cond_0
|
|
and-int/lit8 p4, p4, 0x4
|
|
|
|
if-eqz p4, :cond_1
|
|
|
|
const/4 p3, 0x0
|
|
|
|
:cond_1
|
|
invoke-direct {p0, p1, p2, p3}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final getCameraStateButton()Landroid/widget/ImageView;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->cameraStateButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
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, Landroid/widget/ImageView;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getDeafenButton()Landroid/widget/ImageView;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->deafenButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x3
|
|
|
|
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, Landroid/widget/ImageView;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getDisconnectButton()Landroid/widget/ImageView;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->disconnectButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x6
|
|
|
|
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, Landroid/widget/ImageView;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getMuteStateButton()Landroid/widget/ImageView;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->muteStateButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x5
|
|
|
|
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, Landroid/widget/ImageView;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getPttButton()Landroid/widget/Button;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->pttButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->$$delegatedProperties:[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, Landroid/widget/Button;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getScreenshareButton()Landroid/widget/ImageView;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->screenshareButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
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, Landroid/widget/ImageView;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getSpeakerButton()Landroid/widget/ImageView;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->speakerButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x4
|
|
|
|
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, Landroid/widget/ImageView;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final configureUI(Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$InputMode;Lcom/discord/stores/StoreAudioDevices$AudioDevicesState;ZZZZLcom/discord/widgets/voice/model/CameraState;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)V
|
|
.locals 16
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/discord/rtcconnection/mediaengine/MediaEngineConnection$InputMode;",
|
|
"Lcom/discord/stores/StoreAudioDevices$AudioDevicesState;",
|
|
"ZZZZ",
|
|
"Lcom/discord/widgets/voice/model/CameraState;",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
move/from16 v0, p3
|
|
|
|
move/from16 v1, p4
|
|
|
|
move/from16 v2, p5
|
|
|
|
move-object/from16 v3, p7
|
|
|
|
move-object/from16 v4, p8
|
|
|
|
move-object/from16 v5, p9
|
|
|
|
move-object/from16 v6, p10
|
|
|
|
move-object/from16 v7, p11
|
|
|
|
move-object/from16 v8, p12
|
|
|
|
move-object/from16 v9, p13
|
|
|
|
const/4 v10, 0x0
|
|
|
|
if-eqz p1, :cond_16
|
|
|
|
if-eqz p2, :cond_15
|
|
|
|
if-eqz v3, :cond_14
|
|
|
|
if-eqz v4, :cond_13
|
|
|
|
if-eqz v5, :cond_12
|
|
|
|
if-eqz v6, :cond_11
|
|
|
|
if-eqz v7, :cond_10
|
|
|
|
if-eqz v8, :cond_f
|
|
|
|
if-eqz v9, :cond_e
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getPttButton()Landroid/widget/Button;
|
|
|
|
move-result-object v11
|
|
|
|
invoke-virtual/range {p1 .. p1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v12
|
|
|
|
const/4 v13, 0x1
|
|
|
|
const/16 v14, 0x8
|
|
|
|
const/4 v15, 0x0
|
|
|
|
if-eq v12, v13, :cond_0
|
|
|
|
const/16 v12, 0x8
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v12, 0x0
|
|
|
|
:goto_0
|
|
invoke-virtual {v11, v12}, Landroid/widget/Button;->setVisibility(I)V
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getCameraStateButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v11
|
|
|
|
new-instance v12, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView$configureUI$1;
|
|
|
|
invoke-direct {v12, v7}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView$configureUI$1;-><init>(Lkotlin/jvm/functions/Function0;)V
|
|
|
|
invoke-virtual {v11, v12}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getCameraStateButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v7
|
|
|
|
sget-object v11, Lcom/discord/widgets/voice/model/CameraState;->CAMERA_DISABLED:Lcom/discord/widgets/voice/model/CameraState;
|
|
|
|
if-eq v3, v11, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v13, 0x0
|
|
|
|
:goto_1
|
|
if-eqz v13, :cond_2
|
|
|
|
const/4 v11, 0x0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const/16 v11, 0x8
|
|
|
|
:goto_2
|
|
invoke-virtual {v7, v11}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
sget-object v7, Lcom/discord/widgets/voice/model/CameraState;->CAMERA_ON:Lcom/discord/widgets/voice/model/CameraState;
|
|
|
|
const v11, 0x7f040144
|
|
|
|
const v12, 0x7f040147
|
|
|
|
if-ne v3, v7, :cond_3
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getCameraStateButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual/range {p0 .. p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-static {v7, v11}, Lcom/discord/utilities/color/ColorCompat;->getThemedColor(Landroid/content/Context;I)I
|
|
|
|
move-result v7
|
|
|
|
invoke-static {v7}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-virtual {v3, v7}, Landroid/widget/ImageView;->setImageTintList(Landroid/content/res/ColorStateList;)V
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getCameraStateButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual/range {p0 .. p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v7
|
|
|
|
const v13, 0x7f120397
|
|
|
|
invoke-virtual {v7, v13}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-virtual {v3, v7}, Landroid/widget/ImageView;->setContentDescription(Ljava/lang/CharSequence;)V
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getCameraStateButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual/range {p0 .. p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-static {v7, v12}, Lcom/discord/utilities/color/ColorCompat;->getThemedColor(Landroid/content/Context;I)I
|
|
|
|
move-result v7
|
|
|
|
invoke-static {v7}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-virtual {v3, v7}, Landroid/widget/ImageView;->setImageTintList(Landroid/content/res/ColorStateList;)V
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getCameraStateButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual/range {p0 .. p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v7
|
|
|
|
const v13, 0x7f120396
|
|
|
|
invoke-virtual {v7, v13}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-virtual {v3, v7}, Landroid/widget/ImageView;->setContentDescription(Ljava/lang/CharSequence;)V
|
|
|
|
:goto_3
|
|
invoke-virtual/range {p2 .. p2}, Lcom/discord/stores/StoreAudioDevices$AudioDevicesState;->getSelectedOutputDevice()Lcom/discord/stores/StoreAudioDevices$OutputDevice;
|
|
|
|
move-result-object v3
|
|
|
|
instance-of v3, v3, Lcom/discord/stores/StoreAudioDevices$OutputDevice$BluetoothAudio;
|
|
|
|
if-eqz v3, :cond_4
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getSpeakerButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v3
|
|
|
|
const v7, 0x7f080227
|
|
|
|
invoke-virtual {v3, v7}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getSpeakerButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v3
|
|
|
|
const v7, 0x7f080228
|
|
|
|
invoke-virtual {v3, v7}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
:goto_4
|
|
invoke-virtual/range {p2 .. p2}, Lcom/discord/stores/StoreAudioDevices$AudioDevicesState;->getSelectedOutputDevice()Lcom/discord/stores/StoreAudioDevices$OutputDevice;
|
|
|
|
move-result-object v3
|
|
|
|
sget-object v7, Lcom/discord/stores/StoreAudioDevices$OutputDevice$Earpiece;->INSTANCE:Lcom/discord/stores/StoreAudioDevices$OutputDevice$Earpiece;
|
|
|
|
if-eq v3, v7, :cond_6
|
|
|
|
invoke-virtual/range {p2 .. p2}, Lcom/discord/stores/StoreAudioDevices$AudioDevicesState;->getSelectedOutputDevice()Lcom/discord/stores/StoreAudioDevices$OutputDevice;
|
|
|
|
move-result-object v3
|
|
|
|
sget-object v7, Lcom/discord/stores/StoreAudioDevices$OutputDevice$WiredAudio;->INSTANCE:Lcom/discord/stores/StoreAudioDevices$OutputDevice$WiredAudio;
|
|
|
|
if-ne v3, v7, :cond_5
|
|
|
|
goto :goto_5
|
|
|
|
:cond_5
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getSpeakerButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v3}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v3, v11}, Lcom/discord/utilities/color/ColorCompat;->getThemedColor(Landroid/content/Context;I)I
|
|
|
|
move-result v3
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getSpeakerButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-static {v3}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v7, v3}, Landroid/widget/ImageView;->setImageTintList(Landroid/content/res/ColorStateList;)V
|
|
|
|
goto :goto_6
|
|
|
|
:cond_6
|
|
:goto_5
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getSpeakerButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v3}, Landroid/widget/ImageView;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v3, v12}, Lcom/discord/utilities/color/ColorCompat;->getThemedColor(Landroid/content/Context;I)I
|
|
|
|
move-result v3
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getSpeakerButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-static {v3}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v7, v3}, Landroid/widget/ImageView;->setImageTintList(Landroid/content/res/ColorStateList;)V
|
|
|
|
:goto_6
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getSpeakerButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual/range {p2 .. p2}, Lcom/discord/stores/StoreAudioDevices$AudioDevicesState;->getSelectedOutputDevice()Lcom/discord/stores/StoreAudioDevices$OutputDevice;
|
|
|
|
move-result-object v7
|
|
|
|
instance-of v7, v7, Lcom/discord/stores/StoreAudioDevices$OutputDevice$Speaker;
|
|
|
|
invoke-virtual {v3, v7}, Landroid/widget/ImageView;->setActivated(Z)V
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getSpeakerButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v3
|
|
|
|
new-instance v7, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView$configureUI$2;
|
|
|
|
invoke-direct {v7, v6}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView$configureUI$2;-><init>(Lkotlin/jvm/functions/Function0;)V
|
|
|
|
invoke-virtual {v3, v7}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getDeafenButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v3, v1}, Landroid/widget/ImageView;->setActivated(Z)V
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getDeafenButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v3
|
|
|
|
xor-int/lit8 v6, p6, 0x1
|
|
|
|
if-eqz v6, :cond_7
|
|
|
|
const/4 v6, 0x0
|
|
|
|
goto :goto_7
|
|
|
|
:cond_7
|
|
const/16 v6, 0x8
|
|
|
|
:goto_7
|
|
invoke-virtual {v3, v6}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getDeafenButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual/range {p0 .. p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v6
|
|
|
|
if-eqz v1, :cond_8
|
|
|
|
const v1, 0x7f121682
|
|
|
|
goto :goto_8
|
|
|
|
:cond_8
|
|
const v1, 0x7f12055a
|
|
|
|
:goto_8
|
|
invoke-virtual {v6, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v3, v1}, Landroid/widget/ImageView;->setContentDescription(Ljava/lang/CharSequence;)V
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getDeafenButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v1
|
|
|
|
new-instance v3, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView$configureUI$3;
|
|
|
|
invoke-direct {v3, v9}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView$configureUI$3;-><init>(Lkotlin/jvm/functions/Function0;)V
|
|
|
|
invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getMuteStateButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setActivated(Z)V
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getMuteStateButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual/range {p0 .. p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v3
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
const v0, 0x7f121689
|
|
|
|
goto :goto_9
|
|
|
|
:cond_9
|
|
const v0, 0x7f120f5f
|
|
|
|
:goto_9
|
|
invoke-virtual {v3, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setContentDescription(Ljava/lang/CharSequence;)V
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getMuteStateButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView$configureUI$4;
|
|
|
|
invoke-direct {v1, v4}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView$configureUI$4;-><init>(Lkotlin/jvm/functions/Function0;)V
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getScreenshareButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setActivated(Z)V
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getScreenshareButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz p6, :cond_a
|
|
|
|
const/4 v14, 0x0
|
|
|
|
:cond_a
|
|
invoke-virtual {v0, v14}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getScreenshareButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v2, :cond_b
|
|
|
|
const v1, 0x7f08034d
|
|
|
|
goto :goto_a
|
|
|
|
:cond_b
|
|
const v1, 0x7f08034c
|
|
|
|
:goto_a
|
|
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getScreenshareButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual/range {p0 .. p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_d
|
|
|
|
if-eqz v2, :cond_c
|
|
|
|
const v2, 0x7f121512
|
|
|
|
goto :goto_b
|
|
|
|
:cond_c
|
|
const v2, 0x7f1213fe
|
|
|
|
:goto_b
|
|
invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v10
|
|
|
|
:cond_d
|
|
invoke-virtual {v0, v10}, Landroid/widget/ImageView;->setContentDescription(Ljava/lang/CharSequence;)V
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getScreenshareButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView$configureUI$5;
|
|
|
|
invoke-direct {v1, v5}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView$configureUI$5;-><init>(Lkotlin/jvm/functions/Function0;)V
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getDisconnectButton()Landroid/widget/ImageView;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView$configureUI$6;
|
|
|
|
invoke-direct {v1, v8}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView$configureUI$6;-><init>(Lkotlin/jvm/functions/Function0;)V
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
return-void
|
|
|
|
:cond_e
|
|
const-string v0, "onDeafenPressed"
|
|
|
|
invoke-static {v0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v10
|
|
|
|
:cond_f
|
|
const-string v0, "onDisconnectPressed"
|
|
|
|
invoke-static {v0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v10
|
|
|
|
:cond_10
|
|
const-string v0, "onCameraButtonPressed"
|
|
|
|
invoke-static {v0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v10
|
|
|
|
:cond_11
|
|
const-string v0, "onSpeakerButtonPressed"
|
|
|
|
invoke-static {v0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v10
|
|
|
|
:cond_12
|
|
const-string v0, "onScreensharePressed"
|
|
|
|
invoke-static {v0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v10
|
|
|
|
:cond_13
|
|
const-string v0, "onMutePressed"
|
|
|
|
invoke-static {v0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v10
|
|
|
|
:cond_14
|
|
const-string v0, "cameraState"
|
|
|
|
invoke-static {v0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v10
|
|
|
|
:cond_15
|
|
const-string v0, "audioDevicesState"
|
|
|
|
invoke-static {v0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v10
|
|
|
|
:cond_16
|
|
const-string v0, "inputMode"
|
|
|
|
invoke-static {v0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v10
|
|
.end method
|
|
|
|
.method public final hidePtt()V
|
|
.locals 2
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getPttButton()Landroid/widget/Button;
|
|
|
|
move-result-object v0
|
|
|
|
const/16 v1, 0x8
|
|
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final setOnPttPressedListener(Lkotlin/jvm/functions/Function1;)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Ljava/lang/Boolean;",
|
|
"Lkotlin/Unit;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView;->getPttButton()Landroid/widget/Button;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Lcom/discord/utilities/press/OnPressListener;
|
|
|
|
new-instance v2, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView$setOnPttPressedListener$1;
|
|
|
|
invoke-direct {v2, p1}, Lcom/discord/widgets/voice/controls/AnchoredVoiceControlsView$setOnPttPressedListener$1;-><init>(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
invoke-direct {v1, v2}, Lcom/discord/utilities/press/OnPressListener;-><init>(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "onPttPressed"
|
|
|
|
invoke-static {p1}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|