apkfuckery/com.discord/smali/p.smali

62 lines
1.2 KiB
Smali
Raw Normal View History

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