apkfuckery/com.discord/smali/k.smali

91 lines
1.7 KiB
Smali
Raw Normal View History

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