UnityWebViewActivity$8$3.smali
.class Lcom/garena/unity/webview/UnityWebViewActivity$8$3;
.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$3;->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-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
:try_start_5
invoke-static {}, Landroid/webkit/CookieManager;->getInstance()Landroid/webkit/CookieManager;
move-result-object p1
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, v1, :cond_1a
const/4 v0, 0x0
invoke-static {p1, v0}, Lcom/garena/unity/webview/i;->a(Landroid/webkit/CookieManager;Landroid/webkit/ValueCallback;)V
invoke-static {p1, v0}, Lcom/garena/unity/webview/j;->a(Landroid/webkit/CookieManager;Landroid/webkit/ValueCallback;)V
invoke-static {p1}, Lcom/garena/unity/webview/k;->a(Landroid/webkit/CookieManager;)V
goto :goto_2e
:cond_1a
iget-object v0, p0, Lcom/garena/unity/webview/UnityWebViewActivity$8$3;->this$1:Lcom/garena/unity/webview/UnityWebViewActivity$8;
iget-object v0, v0, Lcom/garena/unity/webview/UnityWebViewActivity$8;->this$0:Lcom/garena/unity/webview/UnityWebViewActivity;
invoke-static {v0}, Landroid/webkit/CookieSyncManager;->createInstance(Landroid/content/Context;)Landroid/webkit/CookieSyncManager;
invoke-virtual {p1}, Landroid/webkit/CookieManager;->removeAllCookie()V
invoke-virtual {p1}, Landroid/webkit/CookieManager;->removeSessionCookie()V
invoke-static {}, Landroid/webkit/CookieSyncManager;->getInstance()Landroid/webkit/CookieSyncManager;
move-result-object p1
invoke-virtual {p1}, Landroid/webkit/CookieSyncManager;->sync()V
:try_end_2e
.catchall {:try_start_5 .. :try_end_2e} :catchall_2e
:catchall_2e
:goto_2e
:try_start_2e
new-instance p1, Landroid/webkit/WebView;
iget-object v0, p0, Lcom/garena/unity/webview/UnityWebViewActivity$8$3;->this$1:Lcom/garena/unity/webview/UnityWebViewActivity$8;
iget-object v0, v0, Lcom/garena/unity/webview/UnityWebViewActivity$8;->this$0:Lcom/garena/unity/webview/UnityWebViewActivity;
invoke-direct {p1, v0}, Landroid/webkit/WebView;-><init>(Landroid/content/Context;)V
invoke-virtual {p1}, Landroid/webkit/WebView;->clearFormData()V
invoke-virtual {p1}, Landroid/webkit/WebView;->clearHistory()V
invoke-virtual {p1}, Landroid/webkit/WebView;->clearMatches()V
const/4 v0, 0x1
invoke-virtual {p1, v0}, Landroid/webkit/WebView;->clearCache(Z)V
invoke-virtual {p1}, Landroid/webkit/WebView;->destroy()V
:try_end_47
.catchall {:try_start_2e .. :try_end_47} :catchall_47
:catchall_47
:try_start_47
invoke-static {}, Landroid/webkit/WebStorage;->getInstance()Landroid/webkit/WebStorage;
move-result-object p1
invoke-virtual {p1}, Landroid/webkit/WebStorage;->deleteAllData()V
:try_end_4e
.catchall {:try_start_47 .. :try_end_4e} :catchall_4e
:catchall_4e
iget-object p1, p0, Lcom/garena/unity/webview/UnityWebViewActivity$8$3;->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-string v0, "clear_all_done"
# invokes: Lcom/garena/unity/webview/UnityWebViewActivity;->_intentToUnityActivity(Ljava/lang/String;)Landroid/content/Intent;
invoke-static {p1, v0}, Lcom/garena/unity/webview/UnityWebViewActivity;->access$100(Lcom/garena/unity/webview/UnityWebViewActivity;Ljava/lang/String;)Landroid/content/Intent;
move-result-object p1
return-object p1
.end method