apkfuckery/com.discord/smali/i.smali
2020-04-17 19:35:24 +02:00

90 lines
1.7 KiB
Smali

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