Weather/smali/com/intowow/sdk/WebViewActivity.smali
2021-05-10 10:13:34 +02:00

373 lines
8.3 KiB
Smali

.class public Lcom/intowow/sdk/WebViewActivity;
.super Landroid/app/Activity;
.source "SourceFile"
# instance fields
.field private a:Lcom/in2wow/sdk/q;
# direct methods
.method public constructor <init>()V
.locals 1
.line 11
invoke-direct {p0}, Landroid/app/Activity;-><init>()V
const/4 v0, 0x0
.line 13
iput-object v0, p0, Lcom/intowow/sdk/WebViewActivity;->a:Lcom/in2wow/sdk/q;
return-void
.end method
# virtual methods
.method public onBackPressed()V
.locals 1
.line 135
:try_start_0
iget-object v0, p0, Lcom/intowow/sdk/WebViewActivity;->a:Lcom/in2wow/sdk/q;
if-eqz v0, :cond_0
.line 136
iget-object v0, p0, Lcom/intowow/sdk/WebViewActivity;->a:Lcom/in2wow/sdk/q;
invoke-virtual {v0}, Lcom/in2wow/sdk/q;->e()V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/lang/Error; {:try_start_0 .. :try_end_0} :catch_0
return-void
:catch_0
move-exception v0
.line 142
invoke-static {v0}, Lcom/intowow/sdk/b/a;->a(Ljava/lang/Throwable;)V
goto :goto_0
:catch_1
move-exception v0
.line 140
invoke-static {v0}, Lcom/intowow/sdk/b/a;->a(Ljava/lang/Throwable;)V
.line 145
:cond_0
:goto_0
invoke-super {p0}, Landroid/app/Activity;->onBackPressed()V
return-void
.end method
.method public onConfigurationChanged(Landroid/content/res/Configuration;)V
.locals 1
.line 118
invoke-super {p0, p1}, Landroid/app/Activity;->onConfigurationChanged(Landroid/content/res/Configuration;)V
.line 121
:try_start_0
iget-object v0, p0, Lcom/intowow/sdk/WebViewActivity;->a:Lcom/in2wow/sdk/q;
if-eqz v0, :cond_0
.line 122
iget-object v0, p0, Lcom/intowow/sdk/WebViewActivity;->a:Lcom/in2wow/sdk/q;
invoke-virtual {v0, p1}, Lcom/in2wow/sdk/q;->a(Landroid/content/res/Configuration;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/lang/Error; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception p1
.line 127
invoke-static {p1}, Lcom/intowow/sdk/b/a;->a(Ljava/lang/Throwable;)V
goto :goto_0
:catch_1
move-exception p1
.line 125
invoke-static {p1}, Lcom/intowow/sdk/b/a;->a(Ljava/lang/Throwable;)V
:cond_0
:goto_0
return-void
.end method
.method public onCreate(Landroid/os/Bundle;)V
.locals 1
.line 17
invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V
.line 20
:try_start_0
new-instance v0, Lcom/in2wow/sdk/q;
invoke-direct {v0, p0}, Lcom/in2wow/sdk/q;-><init>(Landroid/app/Activity;)V
iput-object v0, p0, Lcom/intowow/sdk/WebViewActivity;->a:Lcom/in2wow/sdk/q;
.line 21
iget-object v0, p0, Lcom/intowow/sdk/WebViewActivity;->a:Lcom/in2wow/sdk/q;
invoke-virtual {v0, p1}, Lcom/in2wow/sdk/q;->a(Landroid/os/Bundle;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/lang/Error; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception p1
.line 27
invoke-static {p1}, Lcom/intowow/sdk/b/a;->a(Ljava/lang/Throwable;)V
.line 29
invoke-virtual {p0}, Lcom/intowow/sdk/WebViewActivity;->finish()V
goto :goto_0
:catch_1
move-exception p1
.line 23
invoke-static {p1}, Lcom/intowow/sdk/b/a;->a(Ljava/lang/Throwable;)V
.line 25
invoke-virtual {p0}, Lcom/intowow/sdk/WebViewActivity;->finish()V
:goto_0
return-void
.end method
.method protected onDestroy()V
.locals 1
.line 88
:try_start_0
iget-object v0, p0, Lcom/intowow/sdk/WebViewActivity;->a:Lcom/in2wow/sdk/q;
if-eqz v0, :cond_0
.line 89
iget-object v0, p0, Lcom/intowow/sdk/WebViewActivity;->a:Lcom/in2wow/sdk/q;
invoke-virtual {v0}, Lcom/in2wow/sdk/q;->d()V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/lang/Error; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 94
invoke-static {v0}, Lcom/intowow/sdk/b/a;->a(Ljava/lang/Throwable;)V
goto :goto_0
:catch_1
move-exception v0
.line 92
invoke-static {v0}, Lcom/intowow/sdk/b/a;->a(Ljava/lang/Throwable;)V
.line 97
:cond_0
:goto_0
invoke-super {p0}, Landroid/app/Activity;->onDestroy()V
return-void
.end method
.method public onPause()V
.locals 1
.line 55
invoke-super {p0}, Landroid/app/Activity;->onPause()V
.line 58
:try_start_0
invoke-static {p0}, Lcom/intowow/sdk/I2WAPI;->onActivityPause(Landroid/content/Context;)V
.line 59
iget-object v0, p0, Lcom/intowow/sdk/WebViewActivity;->a:Lcom/in2wow/sdk/q;
if-eqz v0, :cond_0
.line 60
iget-object v0, p0, Lcom/intowow/sdk/WebViewActivity;->a:Lcom/in2wow/sdk/q;
invoke-virtual {v0}, Lcom/in2wow/sdk/q;->b()V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/lang/Error; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 65
invoke-static {v0}, Lcom/intowow/sdk/b/a;->a(Ljava/lang/Throwable;)V
goto :goto_0
:catch_1
move-exception v0
.line 63
invoke-static {v0}, Lcom/intowow/sdk/b/a;->a(Ljava/lang/Throwable;)V
:cond_0
:goto_0
return-void
.end method
.method public onResume()V
.locals 1
.line 35
invoke-super {p0}, Landroid/app/Activity;->onResume()V
.line 38
:try_start_0
invoke-static {p0}, Lcom/intowow/sdk/I2WAPI;->onActivityResume(Landroid/content/Context;)V
.line 39
iget-object v0, p0, Lcom/intowow/sdk/WebViewActivity;->a:Lcom/in2wow/sdk/q;
if-eqz v0, :cond_0
.line 40
iget-object v0, p0, Lcom/intowow/sdk/WebViewActivity;->a:Lcom/in2wow/sdk/q;
invoke-virtual {v0}, Lcom/in2wow/sdk/q;->a()V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/lang/Error; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 47
invoke-static {v0}, Lcom/intowow/sdk/b/a;->a(Ljava/lang/Throwable;)V
.line 49
invoke-virtual {p0}, Lcom/intowow/sdk/WebViewActivity;->finish()V
goto :goto_0
:catch_1
move-exception v0
.line 43
invoke-static {v0}, Lcom/intowow/sdk/b/a;->a(Ljava/lang/Throwable;)V
.line 45
invoke-virtual {p0}, Lcom/intowow/sdk/WebViewActivity;->finish()V
:cond_0
:goto_0
return-void
.end method
.method protected onSaveInstanceState(Landroid/os/Bundle;)V
.locals 1
.line 104
:try_start_0
iget-object v0, p0, Lcom/intowow/sdk/WebViewActivity;->a:Lcom/in2wow/sdk/q;
if-eqz v0, :cond_0
.line 105
iget-object v0, p0, Lcom/intowow/sdk/WebViewActivity;->a:Lcom/in2wow/sdk/q;
invoke-virtual {v0, p1}, Lcom/in2wow/sdk/q;->b(Landroid/os/Bundle;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/lang/Error; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 110
invoke-static {v0}, Lcom/intowow/sdk/b/a;->a(Ljava/lang/Throwable;)V
goto :goto_0
:catch_1
move-exception v0
.line 108
invoke-static {v0}, Lcom/intowow/sdk/b/a;->a(Ljava/lang/Throwable;)V
.line 113
:cond_0
:goto_0
invoke-super {p0, p1}, Landroid/app/Activity;->onSaveInstanceState(Landroid/os/Bundle;)V
return-void
.end method
.method protected onStop()V
.locals 1
.line 71
invoke-super {p0}, Landroid/app/Activity;->onStop()V
.line 74
:try_start_0
iget-object v0, p0, Lcom/intowow/sdk/WebViewActivity;->a:Lcom/in2wow/sdk/q;
if-eqz v0, :cond_0
.line 75
iget-object v0, p0, Lcom/intowow/sdk/WebViewActivity;->a:Lcom/in2wow/sdk/q;
invoke-virtual {v0}, Lcom/in2wow/sdk/q;->c()V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/lang/Error; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 80
invoke-static {v0}, Lcom/intowow/sdk/b/a;->a(Ljava/lang/Throwable;)V
goto :goto_0
:catch_1
move-exception v0
.line 78
invoke-static {v0}, Lcom/intowow/sdk/b/a;->a(Ljava/lang/Throwable;)V
:cond_0
:goto_0
return-void
.end method