109 lines
3.8 KiB
Smali
109 lines
3.8 KiB
Smali
.class public final Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1$1;
|
|
.super Lk0/o/c/j;
|
|
.source "StoreMediaEngine.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1;->call(Lcom/discord/stores/StoreMediaSettings$VoiceConfiguration;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lk0/o/c/j;",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $voiceConfig:Lcom/discord/stores/StoreMediaSettings$VoiceConfiguration;
|
|
|
|
.field public final synthetic this$0:Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1;Lcom/discord/stores/StoreMediaSettings$VoiceConfiguration;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1$1;->this$0:Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1;
|
|
|
|
iput-object p2, p0, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1$1;->$voiceConfig:Lcom/discord/stores/StoreMediaSettings$VoiceConfiguration;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-direct {p0, p1}, Lk0/o/c/j;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic invoke()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1$1;->invoke()V
|
|
|
|
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final invoke()V
|
|
.locals 5
|
|
|
|
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getExperiments()Lcom/discord/stores/StoreExperiments;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Lcom/discord/stores/StoreMediaEngine$ExperimentConfig;
|
|
|
|
const-string v2, "2020-04_noise_cancellation_android"
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x2
|
|
|
|
invoke-static {v0, v2, v3, v4, v3}, Lcom/discord/stores/StoreExperiments;->getExperimentSnapshot$app_productionDiscordExternalRelease$default(Lcom/discord/stores/StoreExperiments;Ljava/lang/String;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lcom/discord/stores/StoreExperiments$Experiment;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreExperiments$Experiment;->getBucket()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-ne v0, v2, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
invoke-direct {v1, v2}, Lcom/discord/stores/StoreMediaEngine$ExperimentConfig;-><init>(Z)V
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1$1;->this$0:Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1;
|
|
|
|
iget-object v0, v0, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1;->this$0:Lcom/discord/stores/StoreMediaEngine;
|
|
|
|
iget-object v2, p0, Lcom/discord/stores/StoreMediaEngine$setupMediaEngineSettingsSubscription$1$1;->$voiceConfig:Lcom/discord/stores/StoreMediaSettings$VoiceConfiguration;
|
|
|
|
invoke-static {v0, v2, v1}, Lcom/discord/stores/StoreMediaEngine;->access$handleVoiceConfigChanged(Lcom/discord/stores/StoreMediaEngine;Lcom/discord/stores/StoreMediaSettings$VoiceConfiguration;Lcom/discord/stores/StoreMediaEngine$ExperimentConfig;)V
|
|
|
|
return-void
|
|
.end method
|