2021-08-09 22:50:52 +00:00
|
|
|
package com.discord.utilities.voice;
|
|
|
|
|
|
|
|
import android.content.Context;
|
2021-08-18 07:29:27 +00:00
|
|
|
import c.a.d.m;
|
2021-08-09 22:50:52 +00:00
|
|
|
import com.discord.R;
|
|
|
|
import com.discord.stores.StoreMediaSettings;
|
|
|
|
import d0.z.d.o;
|
|
|
|
import kotlin.Unit;
|
|
|
|
import kotlin.jvm.functions.Function0;
|
|
|
|
/* compiled from: VoiceEngineServiceController.kt */
|
|
|
|
public final class VoiceEngineServiceController$init$3 extends o implements Function0<Unit> {
|
|
|
|
public final /* synthetic */ Context $context;
|
|
|
|
public final /* synthetic */ VoiceEngineServiceController this$0;
|
|
|
|
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
|
|
public VoiceEngineServiceController$init$3(VoiceEngineServiceController voiceEngineServiceController, Context context) {
|
|
|
|
super(0);
|
|
|
|
this.this$0 = voiceEngineServiceController;
|
|
|
|
this.$context = context;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
|
|
/* renamed from: invoke */
|
|
|
|
public final void mo1invoke() {
|
|
|
|
StoreMediaSettings.SelfMuteFailure selfMuteFailure = VoiceEngineServiceController.access$getMediaSettingsStore$p(this.this$0).toggleSelfMuted();
|
|
|
|
if (selfMuteFailure != null && selfMuteFailure.ordinal() == 0) {
|
2021-08-18 07:29:27 +00:00
|
|
|
m.g(this.$context, R.string.vad_permission_small, 0, null, 12);
|
2021-08-09 22:50:52 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|