Callback$1.smali

.class Lcom/cmcm/xiaobao/phone/smarthome/widget/web/bridge/Callback$1;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/cmcm/xiaobao/phone/smarthome/widget/web/bridge/Callback;->apply(Lorg/json/JSONObject;)V
.end annotation

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


# instance fields
.field final synthetic this$0:Lcom/cmcm/xiaobao/phone/smarthome/widget/web/bridge/Callback;

.field final synthetic val$execJs:Ljava/lang/String;


# direct methods
.method constructor <init>(Lcom/cmcm/xiaobao/phone/smarthome/widget/web/bridge/Callback;Ljava/lang/String;)V
    .registers 3

    iput-object p1, p0, Lcom/cmcm/xiaobao/phone/smarthome/widget/web/bridge/Callback$1;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/widget/web/bridge/Callback;

    iput-object p2, p0, Lcom/cmcm/xiaobao/phone/smarthome/widget/web/bridge/Callback$1;->val$execJs:Ljava/lang/String;

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

    return-void
.end method


# virtual methods
.method public run()V
    .registers 3

    iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/widget/web/bridge/Callback$1;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/widget/web/bridge/Callback;

    # getter for: Lcom/cmcm/xiaobao/phone/smarthome/widget/web/bridge/Callback;->mWebViewRef:Ljava/lang/ref/WeakReference;
    invoke-static {v0}, Lcom/cmcm/xiaobao/phone/smarthome/widget/web/bridge/Callback;->access$000(Lcom/cmcm/xiaobao/phone/smarthome/widget/web/bridge/Callback;)Ljava/lang/ref/WeakReference;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/webkit/WebView;

    iget-object v1, p0, Lcom/cmcm/xiaobao/phone/smarthome/widget/web/bridge/Callback$1;->val$execJs:Ljava/lang/String;

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

    return-void
.end method