apkfuckery/com.discord/smali/j.smali

91 lines
1.7 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Lj;
2020-05-17 12:40:10 +00:00
.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
2020-07-08 16:44:49 +00:00
# interfaces
.implements Landroid/view/View$OnClickListener;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
2020-09-23 03:12:49 +00:00
# static fields
.field public static final e:Lj;
.field public static final f:Lj;
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-09-23 03:12:49 +00:00
.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
2020-07-08 16:44:49 +00:00
.locals 0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput p1, p0, Lj;->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
2020-07-08 16:44:49 +00:00
return-void
.end method
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget p1, p0, Lj;->d:I
2020-05-17 12:40:10 +00:00
2020-09-23 03:12:49 +00:00
if-eqz p1, :cond_1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v0, 0x1
2020-05-17 12:40:10 +00:00
2020-09-23 03:12:49 +00:00
if-ne p1, v0, :cond_0
2020-05-17 12:40:10 +00:00
2020-09-23 03:12: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-09-23 03:12: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-09-23 03:12:49 +00:00
invoke-virtual {p1}, Lcom/discord/stores/StoreMediaSettings;->toggleSelfMuted()Z
2020-07-08 16:44:49 +00:00
return-void
2020-05-17 12:40:10 +00:00
2020-09-23 03:12:49 +00:00
:cond_0
2020-07-08 16:44:49 +00:00
const/4 p1, 0x0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
throw p1
2020-05-17 12:40:10 +00:00
2020-09-23 03:12:49 +00:00
:cond_1
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
2020-05-17 12:40:10 +00:00
2020-09-23 03:12: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-09-23 03:12:49 +00:00
invoke-virtual {p1}, Lcom/discord/stores/StoreAudioDevices;->toggleSpeakerOutput()V
2020-05-17 12:40:10 +00:00
return-void
.end method