apkfuckery/com.discord/smali_classes2/com/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewMod...

133 lines
4.1 KiB
Smali

.class public final Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$observeStoreState$2;
.super Ljava/lang/Object;
.source "WidgetCallFullscreenViewModel.kt"
# interfaces
.implements Lrx/functions/Func4;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel;->observeStoreState()Lrx/Observable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T1:",
"Ljava/lang/Object;",
"T2:",
"Ljava/lang/Object;",
"T3:",
"Ljava/lang/Object;",
"T4:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Func4<",
"TT1;TT2;TT3;TT4;TR;>;"
}
.end annotation
# static fields
.field public static final INSTANCE:Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$observeStoreState$2;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$observeStoreState$2;
invoke-direct {v0}, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$observeStoreState$2;-><init>()V
sput-object v0, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$observeStoreState$2;->INSTANCE:Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$observeStoreState$2;
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final call(Lcom/discord/widgets/voice/model/CallModel;Ljava/lang/Boolean;Lcom/discord/stores/StoreMediaSettings$NoiseProcessing;Ljava/lang/Long;)Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$StoreState;
.locals 1
if-eqz p1, :cond_2
const-string v0, "noiseCancellationExperimentEnabled"
invoke-static {p2, v0}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p2}, Ljava/lang/Boolean;->booleanValue()Z
move-result p2
if-eqz p2, :cond_1
sget-object p2, Lcom/discord/stores/StoreMediaSettings$NoiseProcessing;->Cancellation:Lcom/discord/stores/StoreMediaSettings$NoiseProcessing;
if-ne p3, p2, :cond_0
const/4 p2, 0x1
goto :goto_0
:cond_0
const/4 p2, 0x0
:goto_0
invoke-static {p2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object p2
goto :goto_1
:cond_1
const/4 p2, 0x0
:goto_1
new-instance p3, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$StoreState$Valid;
invoke-direct {p3, p1, p2, p4}, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$StoreState$Valid;-><init>(Lcom/discord/widgets/voice/model/CallModel;Ljava/lang/Boolean;Ljava/lang/Long;)V
goto :goto_2
:cond_2
sget-object p3, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$StoreState$Invalid;->INSTANCE:Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$StoreState$Invalid;
:goto_2
return-object p3
.end method
.method public bridge synthetic call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Lcom/discord/widgets/voice/model/CallModel;
check-cast p2, Ljava/lang/Boolean;
check-cast p3, Lcom/discord/stores/StoreMediaSettings$NoiseProcessing;
check-cast p4, Ljava/lang/Long;
invoke-virtual {p0, p1, p2, p3, p4}, Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$observeStoreState$2;->call(Lcom/discord/widgets/voice/model/CallModel;Ljava/lang/Boolean;Lcom/discord/stores/StoreMediaSettings$NoiseProcessing;Ljava/lang/Long;)Lcom/discord/widgets/voice/fullscreen/WidgetCallFullscreenViewModel$StoreState;
move-result-object p1
return-object p1
.end method