apkfuckery/com.discord/smali/q.smali
2020-07-25 02:57:47 +00:00

61 lines
1.2 KiB
Smali

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