apkfuckery/com.discord/smali/g.smali
2020-03-03 00:12:43 +01:00

90 lines
1.7 KiB
Smali

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