apkfuckery/com.discord/smali_classes2/h.smali
2020-04-07 10:23:55 +02:00

90 lines
1.7 KiB
Smali

.class public final Lh;
.super Ljava/lang/Object;
.source "java-style lambda group"
# interfaces
.implements Landroid/view/View$OnClickListener;
# static fields
.field public static final e:Lh;
.field public static final f:Lh;
# instance fields
.field public final synthetic d:I
# direct methods
.method static constructor <clinit>()V
.locals 2
new-instance v0, Lh;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lh;-><init>(I)V
sput-object v0, Lh;->e:Lh;
new-instance v0, Lh;
const/4 v1, 0x1
invoke-direct {v0, v1}, Lh;-><init>(I)V
sput-object v0, Lh;->f:Lh;
return-void
.end method
.method public constructor <init>(I)V
.locals 0
iput p1, p0, Lh;->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, Lh;->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