UnityWebViewActivity$8$5.smali

.class Lcom/garena/unity/webview/UnityWebViewActivity$8$5;
.super Lcom/garena/unity/webview/UnityWebViewActivity$IntentExecutor;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/garena/unity/webview/UnityWebViewActivity$8;
.end annotation

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


# instance fields
.field final synthetic this$1:Lcom/garena/unity/webview/UnityWebViewActivity$8;


# direct methods
.method constructor <init>(Lcom/garena/unity/webview/UnityWebViewActivity$8;)V
    .registers 3

    iput-object p1, p0, Lcom/garena/unity/webview/UnityWebViewActivity$8$5;->this$1:Lcom/garena/unity/webview/UnityWebViewActivity$8;

    iget-object p1, p1, Lcom/garena/unity/webview/UnityWebViewActivity$8;->this$0:Lcom/garena/unity/webview/UnityWebViewActivity;

    const/4 v0, 0x0

    invoke-direct {p0, p1, v0}, Lcom/garena/unity/webview/UnityWebViewActivity$IntentExecutor;-><init>(Lcom/garena/unity/webview/UnityWebViewActivity;Lcom/garena/unity/webview/UnityWebViewActivity$1;)V

    return-void
.end method


# virtual methods
.method public onIntent(Landroid/content/Intent;)Landroid/content/Intent;
    .registers 4

    const-class v0, Lcom/garena/unity/webview/WebViewActivityParameters;

    invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/content/Intent;->setExtrasClassLoader(Ljava/lang/ClassLoader;)V

    const-string v0, "execute intent"

    # invokes: Lcom/garena/unity/webview/UnityWebViewActivity;->LogIntent(Ljava/lang/String;Landroid/content/Intent;)V
    invoke-static {v0, p1}, Lcom/garena/unity/webview/UnityWebViewActivity;->access$1000(Ljava/lang/String;Landroid/content/Intent;)V

    const-string v0, "web_view_parameters"

    invoke-virtual {p1, v0}, Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;

    move-result-object p1

    check-cast p1, Lcom/garena/unity/webview/WebViewActivityParameters;

    const/4 v0, 0x0

    if-nez p1, :cond_1a

    return-object v0

    :cond_1a
    iget-object v1, p0, Lcom/garena/unity/webview/UnityWebViewActivity$8$5;->this$1:Lcom/garena/unity/webview/UnityWebViewActivity$8;

    iget-object v1, v1, Lcom/garena/unity/webview/UnityWebViewActivity$8;->this$0:Lcom/garena/unity/webview/UnityWebViewActivity;

    # invokes: Lcom/garena/unity/webview/UnityWebViewActivity;->_open(Lcom/garena/unity/webview/WebViewActivityParameters;)V
    invoke-static {v1, p1}, Lcom/garena/unity/webview/UnityWebViewActivity;->access$1300(Lcom/garena/unity/webview/UnityWebViewActivity;Lcom/garena/unity/webview/WebViewActivityParameters;)V

    return-object v0
.end method