RoomsYoutubeComponent$k.smali
.class public final Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeAdapter$a;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
.field final synthetic b:Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeSelectFragment;
# direct methods
.method constructor <init>(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeSelectFragment;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeSelectFragment;",
")V"
}
.end annotation
.line 541
iput-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
iput-object p2, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->b:Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeSelectFragment;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a(Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;Lcom/imo/android/imoim/rooms/data/v;)V
.registers 12
const-string v0, "item"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "listRes"
invoke-static {p2, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 543
iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->f(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Z
move-result v0
const/4 v1, 0x0
if-nez v0, :cond_34
.line 544
sget-object p1, Lcom/biuiteam/biui/a/j;->a:Lcom/biuiteam/biui/a/j;
iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
invoke-virtual {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->x()Landroidx/fragment/app/FragmentActivity;
move-result-object p1
const-string p2, "context"
invoke-static {p1, p2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p1, Landroid/content/Context;
const p2, 0x7f0f06a3
invoke-static {p2}, Lcom/imo/hd/util/d;->a(I)Ljava/lang/String;
move-result-object p2
const-string v0, "IMOUtils.getString(R.str\u2026party_no_permission_play)"
invoke-static {p2, v0}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
const/16 v0, 0x3c
invoke-static {p1, p2, v1, v1, v0}, Lcom/biuiteam/biui/a/j;->a(Landroid/content/Context;Ljava/lang/String;III)V
return-void
.line 548
:cond_34
iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->b:Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeSelectFragment;
invoke-virtual {v0}, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeSelectFragment;->dismissAllowingStateLoss()V
.line 549
invoke-static {}, Lcom/imo/android/imoim/util/ei;->I()Z
move-result v0
if-nez v0, :cond_4b
.line 550
iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
invoke-virtual {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->x()Landroidx/fragment/app/FragmentActivity;
move-result-object p1
check-cast p1, Landroid/content/Context;
invoke-static {p1}, Lcom/imo/android/imoim/util/ei;->c(Landroid/content/Context;)V
return-void
.line 554
:cond_4b
iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->u(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;
move-result-object v0
if-eqz v0, :cond_56
invoke-virtual {v0}, Lcom/imo/android/imoim/rooms/av/component/WaitingNextVideoComponent;->h()V
.line 1007
:cond_56
iget-object v0, p2, Lcom/imo/android/imoim/rooms/data/v;->a:Ljava/util/List;
.line 555
check-cast v0, Ljava/util/Collection;
invoke-interface {v0}, Ljava/util/Collection;->isEmpty()Z
move-result v0
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_67
.line 556
iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
invoke-static {v0, p2}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->a(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;Lcom/imo/android/imoim/rooms/data/v;)V
.line 559
:cond_67
iget-object p2, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
invoke-static {p2}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->A(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Z
move-result p2
if-nez p2, :cond_9a
.line 560
iget-object p2, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
.line 1050
iget-object v0, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->a:Ljava/lang/String;
.line 560
invoke-virtual {p2, v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->b(Ljava/lang/String;)V
.line 561
iget-object p2, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
.line 1058
iget-object v0, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->e:Ljava/lang/String;
.line 561
invoke-static {p2, v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->b(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;Ljava/lang/String;)V
.line 562
iget-object p2, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
.line 1064
iget-object p1, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->h:Ljava/lang/String;
.line 562
invoke-static {p2, p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;Ljava/lang/String;)V
.line 563
iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
invoke-virtual {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->x()Landroidx/fragment/app/FragmentActivity;
move-result-object p1
check-cast p1, Landroid/content/Context;
const p2, 0x7f0f066c
invoke-static {p1, p2}, Lcom/imo/android/imoim/util/ei;->a(Landroid/content/Context;I)V
const-string p1, "RoomsYoutubeComponent"
const-string p2, "player not ready yet"
.line 1075
invoke-static {p1, p2}, Lcom/imo/android/imoim/util/bt;->e(Ljava/lang/String;Ljava/lang/String;)V
return-void
.line 568
:cond_9a
iget-object p2, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
.line 2058
iget-object v0, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->e:Ljava/lang/String;
.line 568
invoke-static {p2, v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->b(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;Ljava/lang/String;)V
.line 569
iget-object p2, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
.line 2064
iget-object v0, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->h:Ljava/lang/String;
.line 569
invoke-static {p2, v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;Ljava/lang/String;)V
.line 570
iget-object p2, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
invoke-static {p2}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->h(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;
move-result-object p2
.line 3050
iget-object v0, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->a:Ljava/lang/String;
.line 570
invoke-static {p2, v0}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p2
if-eqz p2, :cond_12d
.line 571
iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
invoke-static {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->b(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Z
move-result p1
if-nez p1, :cond_12c
.line 572
sget-object p1, Lcom/imo/android/imoim/rooms/b/i;->e:Lcom/imo/android/imoim/rooms/b/i;
invoke-static {}, Lcom/imo/android/imoim/rooms/b/i;->b()V
.line 573
iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
invoke-static {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->D(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Z
move-result p1
if-eqz p1, :cond_cc
goto :goto_d3
:cond_cc
iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
invoke-static {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->j(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)F
move-result p1
float-to-int v1, p1
.line 574
:goto_d3
iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
invoke-static {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;
move-result-object p1
if-eqz p1, :cond_e0
const-string p2, "javascript:playVideo()"
.line 3131
invoke-virtual {p1, p2}, Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;->a(Ljava/lang/String;)V
.line 575
:cond_e0
sget-object p1, Lcom/imo/android/imoim/rooms/entrance/c;->c:Lcom/imo/android/imoim/rooms/entrance/c;
.line 4070
invoke-static {}, Lcom/imo/android/imoim/rooms/entrance/c;->b()Lcom/imo/android/imoim/rooms/entrance/b/b;
.line 575
invoke-static {}, Lcom/imo/android/imoim/rooms/av/a/c;->g()Ljava/lang/String;
move-result-object v2
iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
invoke-static {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->h(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;
move-result-object v3
.line 576
iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
invoke-static {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->i(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;
move-result-object v5
iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
invoke-static {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->k(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;
move-result-object v7
iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
invoke-static {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;
move-result-object v8
const-string v4, "playing"
move v6, v1
.line 575
invoke-static/range {v2 .. v8}, Lcom/imo/android/imoim/rooms/entrance/b/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
if-nez v1, :cond_12c
.line 578
sget-object p1, Lcom/imo/android/imoim/rooms/entrance/c;->c:Lcom/imo/android/imoim/rooms/entrance/c;
.line 5070
invoke-static {}, Lcom/imo/android/imoim/rooms/entrance/c;->b()Lcom/imo/android/imoim/rooms/entrance/b/b;
.line 578
invoke-static {}, Lcom/imo/android/imoim/rooms/av/a/c;->g()Ljava/lang/String;
move-result-object v0
.line 579
iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
invoke-static {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->i(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;
move-result-object v3
const/4 v4, 0x0
iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
invoke-static {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->k(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;
move-result-object v5
iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
invoke-static {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;
move-result-object v6
const-string v1, ""
const-string v2, "switch_done"
.line 578
invoke-static/range {v0 .. v6}, Lcom/imo/android/imoim/rooms/entrance/b/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
:cond_12c
return-void
.line 585
:cond_12d
iget-object p2, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
.line 6050
iget-object p1, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->a:Ljava/lang/String;
.line 585
invoke-static {p2, p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->a(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;Ljava/lang/String;)V
.line 586
sget-object p1, Lcom/imo/android/imoim/rooms/entrance/c;->c:Lcom/imo/android/imoim/rooms/entrance/c;
.line 6070
invoke-static {}, Lcom/imo/android/imoim/rooms/entrance/c;->b()Lcom/imo/android/imoim/rooms/entrance/b/b;
.line 586
invoke-static {}, Lcom/imo/android/imoim/rooms/av/a/c;->g()Ljava/lang/String;
move-result-object v0
.line 587
iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
invoke-static {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->i(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;
move-result-object v3
const/4 v4, 0x0
iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
invoke-static {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->k(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;
move-result-object v5
iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$k;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;
invoke-static {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;
move-result-object v6
const-string v1, ""
const-string v2, "switch_done"
.line 586
invoke-static/range {v0 .. v6}, Lcom/imo/android/imoim/rooms/entrance/b/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
return-void
.end method