WebParentLayout$1.smali

.class Lcom/just/agentweb/WebParentLayout$1;
.super Ljava/lang/Object;
.source "WebParentLayout.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/just/agentweb/WebParentLayout;->createErrorLayout()V
.end annotation

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


# instance fields
.field final synthetic this$0:Lcom/just/agentweb/WebParentLayout;

.field final synthetic val$clickView:Landroid/view/View;


# direct methods
.method constructor <init>(Lcom/just/agentweb/WebParentLayout;Landroid/view/View;)V
    .registers 3

    .line 1
    iput-object p1, p0, Lcom/just/agentweb/WebParentLayout$1;->this$0:Lcom/just/agentweb/WebParentLayout;

    iput-object p2, p0, Lcom/just/agentweb/WebParentLayout$1;->val$clickView:Landroid/view/View;

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

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 3

    .line 1
    iget-object p1, p0, Lcom/just/agentweb/WebParentLayout$1;->this$0:Lcom/just/agentweb/WebParentLayout;

    invoke-virtual {p1}, Lcom/just/agentweb/WebParentLayout;->getWebView()Landroid/webkit/WebView;

    move-result-object p1

    if-eqz p1, :cond_17

    .line 2
    iget-object p1, p0, Lcom/just/agentweb/WebParentLayout$1;->val$clickView:Landroid/view/View;

    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Landroid/view/View;->setClickable(Z)V

    .line 3
    iget-object p1, p0, Lcom/just/agentweb/WebParentLayout$1;->this$0:Lcom/just/agentweb/WebParentLayout;

    invoke-virtual {p1}, Lcom/just/agentweb/WebParentLayout;->getWebView()Landroid/webkit/WebView;

    move-result-object p1

    invoke-virtual {p1}, Landroid/webkit/WebView;->reload()V

    :cond_17
    return-void
.end method