YouTubePlayerWebView$g.smali

.class final Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView$g;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;)V
    .registers 2

    iput-object p1, p0, Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView$g;->a:Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final run()V
    .registers 9

    .line 50
    iget-object v0, p0, Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView$g;->a:Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;

    invoke-static {v0}, Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;->d(Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;)Z

    move-result v0

    if-nez v0, :cond_27

    const-string v0, "WebYouTubePlayerView"

    const-string v1, "player not initialize yet"

    .line 1075
    invoke-static {v0, v1}, Lcom/imo/android/imoim/util/bt;->e(Ljava/lang/String;Ljava/lang/String;)V

    .line 52
    iget-object v2, p0, Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView$g;->a:Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;

    invoke-static {v2}, Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;->f(Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;)Lcom/imo/android/imoim/web/youtube/b;

    move-result-object v0

    invoke-virtual {v0}, Lcom/imo/android/imoim/web/youtube/b;->b()Ljava/lang/String;

    move-result-object v3

    iget-object v0, p0, Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView$g;->a:Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;

    invoke-static {v0}, Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;->g(Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;)Ljava/lang/String;

    move-result-object v4

    const/4 v7, 0x0

    const-string v5, "text/html"

    const-string v6, "utf-8"

    invoke-virtual/range {v2 .. v7}, Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;->loadDataWithBaseURL(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    :cond_27
    return-void
.end method