apkfuckery/com.discord/smali_classes2/h.smali

91 lines
1.7 KiB
Smali
Raw Normal View History

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