apkfuckery/com.discord/smali/j.smali

91 lines
1.7 KiB
Smali
Raw Normal View History

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