apkfuckery/com.discord/smali_classes2/p.smali
2020-07-15 19:49:36 +00:00

61 lines
1.2 KiB
Smali

.class public final Lp;
.super Ljava/lang/Object;
.source "MediaEngineLegacy.kt"
# interfaces
.implements Lcom/hammerandchisel/libdiscord/Discord$GetSupportedVideoCodecsCallback;
# instance fields
.field public final synthetic a:Lq;
.field public final synthetic b:Lrx/Emitter;
# direct methods
.method public constructor <init>(Lq;Lrx/Emitter;)V
.locals 0
iput-object p1, p0, Lp;->a:Lq;
iput-object p2, p0, Lp;->b:Lrx/Emitter;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onSupportedVideoCodecs([Ljava/lang/String;)V
.locals 1
if-eqz p1, :cond_0
iget-object v0, p0, Lp;->a:Lq;
iget-object v0, v0, Lq;->d:Lm;
invoke-static {v0, p1}, Lm;->n(Lm;[Ljava/lang/String;)Ljava/util/List;
move-result-object p1
iget-object v0, p0, Lp;->b:Lrx/Emitter;
invoke-interface {v0, p1}, Lq0/g;->onNext(Ljava/lang/Object;)V
iget-object p1, p0, Lp;->b:Lrx/Emitter;
invoke-interface {p1}, Lq0/g;->onCompleted()V
return-void
:cond_0
const-string p1, "videoCodecsStringArray"
invoke-static {p1}, Li0/n/c/h;->c(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method