.class Lcom/vv/hgtv/u;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# instance fields
.field final synthetic a:Lcom/vv/hgtv/PlayerActivity;

.field private final synthetic b:Landroid/widget/EditText;

.field private final synthetic c:I


# direct methods
.method constructor <init>(Lcom/vv/hgtv/PlayerActivity;Landroid/widget/EditText;I)V
    .locals 0

    iput-object p1, p0, Lcom/vv/hgtv/u;->a:Lcom/vv/hgtv/PlayerActivity;

    iput-object p2, p0, Lcom/vv/hgtv/u;->b:Landroid/widget/EditText;

    iput p3, p0, Lcom/vv/hgtv/u;->c:I

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

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 4

    iget-object v0, p0, Lcom/vv/hgtv/u;->b:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v1

    sget-object v0, Lcom/vv/hgtv/PlayerActivity;->c:Lcom/vv/hgtv/b;

    iget v2, p0, Lcom/vv/hgtv/u;->c:I

    invoke-virtual {v0, v2}, Lcom/vv/hgtv/b;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/vv/hgtv/a;

    iget-object v0, v0, Lcom/vv/hgtv/a;->b:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    sget-object v0, Lcom/vv/hgtv/PlayerActivity;->c:Lcom/vv/hgtv/b;

    iget v1, p0, Lcom/vv/hgtv/u;->c:I

    invoke-virtual {v0, v1}, Lcom/vv/hgtv/b;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/vv/hgtv/a;

    const/4 v1, 0x1

    iput-boolean v1, v0, Lcom/vv/hgtv/a;->c:Z

    iget-object v0, p0, Lcom/vv/hgtv/u;->a:Lcom/vv/hgtv/PlayerActivity;

    iget v1, p0, Lcom/vv/hgtv/u;->c:I

    invoke-virtual {v0, v1}, Lcom/vv/hgtv/PlayerActivity;->a(I)V

    :goto_0
    iget-object v0, p0, Lcom/vv/hgtv/u;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v0}, Lcom/vv/hgtv/PlayerActivity;->n(Lcom/vv/hgtv/PlayerActivity;)Landroid/os/Handler;

    move-result-object v0

    iget-object v1, p0, Lcom/vv/hgtv/u;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v1}, Lcom/vv/hgtv/PlayerActivity;->ab(Lcom/vv/hgtv/PlayerActivity;)Ljava/lang/Runnable;

    move-result-object v1

    const-wide/16 v2, 0x2710

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    return-void

    :cond_0
    iget-object v0, p0, Lcom/vv/hgtv/u;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v0}, Lcom/vv/hgtv/PlayerActivity;->aa(Lcom/vv/hgtv/PlayerActivity;)Lcom/vv/hgtv/j;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/vv/hgtv/u;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-static {v0}, Lcom/vv/hgtv/PlayerActivity;->aa(Lcom/vv/hgtv/PlayerActivity;)Lcom/vv/hgtv/j;

    move-result-object v0

    invoke-virtual {v0}, Lcom/vv/hgtv/j;->a()V

    :cond_1
    iget-object v0, p0, Lcom/vv/hgtv/u;->a:Lcom/vv/hgtv/PlayerActivity;

    invoke-virtual {v0}, Lcom/vv/hgtv/PlayerActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u5bc6\u7801\u9519\u8bef!"

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0
.end method
