EmbedBottomSheet$2.smali

.class Lim/tpelyyftgw/ui/components/EmbedBottomSheet$2;
.super Landroid/widget/FrameLayout;
.source "EmbedBottomSheet.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/components/EmbedBottomSheet;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;III)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method constructor <init>(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;Landroid/content/Context;)V
    .registers 3
    .param p1, "this$0"    # Lim/tpelyyftgw/ui/components/EmbedBottomSheet;
    .param p2, "arg0"    # Landroid/content/Context;

    .line 271
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$2;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;

    invoke-direct {p0, p2}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

    return-void
.end method


# virtual methods
.method protected onDetachedFromWindow()V
    .registers 3

    .line 274
    invoke-super {p0}, Landroid/widget/FrameLayout;->onDetachedFromWindow()V

    .line 276
    :try_start_3
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$2;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$300(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Lim/tpelyyftgw/ui/components/PipVideoView;

    move-result-object v0

    if-eqz v0, :cond_17

    iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$2;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$500(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/webkit/WebView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/webkit/WebView;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_49

    :cond_17
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$2;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$500(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/webkit/WebView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/webkit/WebView;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-eqz v0, :cond_49

    .line 277
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$2;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$500(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/webkit/WebView;

    move-result-object v0

    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$2;->removeView(Landroid/view/View;)V

    .line 278
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$2;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$500(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/webkit/WebView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/webkit/WebView;->stopLoading()V

    .line 279
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$2;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/EmbedBottomSheet;->access$500(Lim/tpelyyftgw/ui/components/EmbedBottomSheet;)Landroid/webkit/WebView;

    move-result-object v0

    const-string v1, "about:blank"

    invoke-virtual {v0, v1}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    .line 280
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/EmbedBottomSheet$2;->this$0:Lim/tpelyyftgw/ui/components/EmbedBottomSheet;

    invoke-static {v0},