apkfuckery/com.discord/smali/j.smali
2020-10-31 07:32:22 +00:00

90 lines
1.7 KiB
Smali

.class public final Lj;
.super Ljava/lang/Object;
.source "java-style lambda group"
# interfaces
.implements Landroid/view/View$OnClickListener;
# static fields
.field public static final e:Lj;
.field public static final f:Lj;
# instance fields
.field public final synthetic d:I
# direct methods
.method static constructor <clinit>()V
.locals 2
new-instance v0, Lj;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lj;-><init>(I)V
sput-object v0, Lj;->e:Lj;
new-instance v0, Lj;
const/4 v1, 0x1
invoke-direct {v0, v1}, Lj;-><init>(I)V
sput-object v0, Lj;->f:Lj;
return-void
.end method
.method public constructor <init>(I)V
.locals 0
iput p1, p0, Lj;->d:I
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 1
iget p1, p0, Lj;->d:I
if-eqz p1, :cond_1
const/4 v0, 0x1
if-ne p1, v0, :cond_0
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getMediaSettings()Lcom/discord/stores/StoreMediaSettings;
move-result-object p1
invoke-virtual {p1}, Lcom/discord/stores/StoreMediaSettings;->toggleSelfMuted()Z
return-void
:cond_0
const/4 p1, 0x0
throw p1
:cond_1
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getAudioDevices()Lcom/discord/stores/StoreAudioDevices;
move-result-object p1
invoke-virtual {p1}, Lcom/discord/stores/StoreAudioDevices;->toggleSpeakerOutput()V
return-void
.end method