459 lines
9.8 KiB
Smali
459 lines
9.8 KiB
Smali
.class public Lcom/in2wow/sdk/m/l;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/in2wow/sdk/m/l$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method private static a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 7
|
|
|
|
.line 140
|
|
new-instance v6, Lcom/in2wow/sdk/m/l$2;
|
|
|
|
invoke-direct {v6, p0}, Lcom/in2wow/sdk/m/l$2;-><init>(Landroid/app/Activity;)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move-object v2, p1
|
|
|
|
move-object v3, p2
|
|
|
|
.line 136
|
|
invoke-static/range {v0 .. v6}, Lcom/in2wow/sdk/m/q;->a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLcom/in2wow/sdk/m/l$a;)Landroid/app/AlertDialog;
|
|
|
|
move-result-object p0
|
|
|
|
.line 153
|
|
invoke-virtual {p0}, Landroid/app/AlertDialog;->show()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Landroid/content/Context;)V
|
|
.locals 3
|
|
|
|
const-string v0, "Open Splash for preview is ready. Please use back button to exit and reenter"
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/16 v2, 0x1388
|
|
|
|
.line 94
|
|
invoke-static {p0, v0, v1, v2}, Lcom/in2wow/sdk/m/l;->a(Landroid/content/Context;Ljava/lang/String;II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Landroid/content/Context;Lcom/in2wow/sdk/h/c;Lcom/in2wow/sdk/i/c;)V
|
|
.locals 3
|
|
|
|
.line 37
|
|
invoke-virtual {p2}, Lcom/in2wow/sdk/i/c;->t()Lcom/in2wow/sdk/i/c$e;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {p0, v0}, Lcom/in2wow/sdk/m/b;->a(Landroid/content/Context;Lcom/in2wow/sdk/i/c$e;)Z
|
|
|
|
move-result v0
|
|
|
|
.line 38
|
|
invoke-virtual {p2}, Lcom/in2wow/sdk/i/c;->w()Lcom/in2wow/sdk/i/c$o;
|
|
|
|
move-result-object v1
|
|
|
|
sget-object v2, Lcom/in2wow/sdk/i/c$o;->b:Lcom/in2wow/sdk/i/c$o;
|
|
|
|
if-ne v1, v2, :cond_0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 39
|
|
invoke-virtual {p2}, Lcom/in2wow/sdk/i/c;->l()[Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
aget-object p2, p2, v0
|
|
|
|
.line 40
|
|
invoke-virtual {p1, p2}, Lcom/in2wow/sdk/h/c;->i(Ljava/lang/String;)Lcom/in2wow/sdk/i/i;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lcom/in2wow/sdk/m/l;->a(Lcom/in2wow/sdk/i/i;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
.line 43
|
|
invoke-static {p0}, Lcom/in2wow/sdk/m/l;->b(Landroid/content/Context;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Landroid/content/Context;Lcom/in2wow/sdk/i/c;Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
.line 63
|
|
invoke-static {p0}, Lcom/in2wow/sdk/b/e;->a(Landroid/content/Context;)Lcom/in2wow/sdk/b/e;
|
|
|
|
move-result-object v0
|
|
|
|
.line 64
|
|
invoke-virtual {v0}, Lcom/in2wow/sdk/b/e;->x()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 66
|
|
invoke-virtual {v0, p2}, Lcom/in2wow/sdk/b/e;->i(Ljava/lang/String;)Lcom/in2wow/sdk/i/i;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lcom/in2wow/sdk/m/l;->a(Lcom/in2wow/sdk/i/i;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 67
|
|
invoke-virtual {v0}, Lcom/in2wow/sdk/b/e;->t()Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
.line 68
|
|
invoke-virtual {v0}, Lcom/in2wow/sdk/b/e;->u()V
|
|
|
|
.line 69
|
|
invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0}, Lcom/in2wow/sdk/m/l;->c(Landroid/content/Context;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private static a(Landroid/content/Context;Ljava/lang/String;II)V
|
|
.locals 6
|
|
|
|
.line 161
|
|
invoke-static {p0, p1, p2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
|
|
|
|
move-result-object v5
|
|
|
|
.line 164
|
|
invoke-virtual {v5}, Landroid/widget/Toast;->show()V
|
|
|
|
.line 165
|
|
new-instance p0, Lcom/in2wow/sdk/m/l$3;
|
|
|
|
int-to-long v1, p3
|
|
|
|
const-wide/16 v3, 0x3e8
|
|
|
|
move-object v0, p0
|
|
|
|
invoke-direct/range {v0 .. v5}, Lcom/in2wow/sdk/m/l$3;-><init>(JJLandroid/widget/Toast;)V
|
|
|
|
.line 173
|
|
invoke-virtual {p0}, Lcom/in2wow/sdk/m/l$3;->start()Landroid/os/CountDownTimer;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Lcom/in2wow/sdk/h/c;Lcom/in2wow/sdk/b/h;Lcom/in2wow/sdk/i/c;)V
|
|
.locals 2
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 51
|
|
:cond_0
|
|
invoke-virtual {p0}, Lcom/in2wow/sdk/h/c;->X()Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
.line 54
|
|
new-instance p0, Landroid/os/Bundle;
|
|
|
|
invoke-direct {p0}, Landroid/os/Bundle;-><init>()V
|
|
|
|
const-string v0, "type"
|
|
|
|
.line 55
|
|
sget-object v1, Lcom/in2wow/sdk/b/h$b;->m:Lcom/in2wow/sdk/b/h$b;
|
|
|
|
invoke-virtual {v1}, Lcom/in2wow/sdk/b/h$b;->ordinal()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0, v0, v1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
const-string v0, "ADPROFILE"
|
|
|
|
.line 56
|
|
invoke-virtual {p2}, Lcom/in2wow/sdk/i/c;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p0, v0, p2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 57
|
|
invoke-virtual {p1, p0}, Lcom/in2wow/sdk/b/h;->a(Landroid/os/Bundle;)V
|
|
|
|
:cond_1
|
|
return-void
|
|
|
|
:cond_2
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Landroid/os/Bundle;)Z
|
|
.locals 1
|
|
|
|
const-string v0, "INTENT_PREVIEW_FETCH_ADLIST"
|
|
|
|
.line 91
|
|
invoke-virtual {p0, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static a(Lcom/in2wow/sdk/i/i;)Z
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
.line 85
|
|
invoke-virtual {p0}, Lcom/in2wow/sdk/i/i;->a()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
invoke-virtual {p0}, Lcom/in2wow/sdk/i/i;->a()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Ljava/lang/String;->length()I
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 88
|
|
:cond_0
|
|
invoke-virtual {p0}, Lcom/in2wow/sdk/i/i;->a()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v1, "OPEN_SPLASH"
|
|
|
|
invoke-virtual {p0, v1}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
const/4 v1, -0x1
|
|
|
|
if-eq p0, v1, :cond_1
|
|
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
|
|
:cond_1
|
|
return v0
|
|
|
|
:cond_2
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public static b(Landroid/content/Context;)V
|
|
.locals 4
|
|
|
|
const-string v0, "Ads for preview is ready. Please go to the corresponding ad space"
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/16 v2, 0x3e8
|
|
|
|
.line 100
|
|
invoke-static {p0, v0, v1, v2}, Lcom/in2wow/sdk/m/l;->a(Landroid/content/Context;Ljava/lang/String;II)V
|
|
|
|
.line 104
|
|
new-instance v0, Landroid/os/Handler;
|
|
|
|
invoke-direct {v0}, Landroid/os/Handler;-><init>()V
|
|
|
|
new-instance v1, Lcom/in2wow/sdk/m/l$1;
|
|
|
|
invoke-direct {v1, p0}, Lcom/in2wow/sdk/m/l$1;-><init>(Landroid/content/Context;)V
|
|
|
|
const-wide/16 v2, 0xbb8
|
|
|
|
invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static b(Landroid/content/Context;Lcom/in2wow/sdk/i/c;Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
.line 75
|
|
invoke-static {p0}, Lcom/in2wow/sdk/b/e;->a(Landroid/content/Context;)Lcom/in2wow/sdk/b/e;
|
|
|
|
move-result-object v0
|
|
|
|
.line 76
|
|
invoke-virtual {v0}, Lcom/in2wow/sdk/b/e;->x()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 78
|
|
invoke-virtual {v0, p2}, Lcom/in2wow/sdk/b/e;->i(Ljava/lang/String;)Lcom/in2wow/sdk/i/i;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lcom/in2wow/sdk/m/l;->a(Lcom/in2wow/sdk/i/i;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 79
|
|
invoke-virtual {v0}, Lcom/in2wow/sdk/b/e;->t()Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
.line 80
|
|
invoke-virtual {v0}, Lcom/in2wow/sdk/b/e;->u()V
|
|
|
|
.line 81
|
|
invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0}, Lcom/in2wow/sdk/m/l;->c(Landroid/content/Context;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static c(Landroid/content/Context;)V
|
|
.locals 3
|
|
|
|
const-string v0, "This is preview mode. Please swipe to close APP to exit preview mode"
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/16 v2, 0xbb8
|
|
|
|
.line 114
|
|
invoke-static {p0, v0, v1, v2}, Lcom/in2wow/sdk/m/l;->a(Landroid/content/Context;Ljava/lang/String;II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static d(Landroid/content/Context;)V
|
|
.locals 2
|
|
|
|
.line 120
|
|
check-cast p0, Landroid/app/Activity;
|
|
|
|
const-string v0, "The obsolete ads had been removed. Please reenter APP"
|
|
|
|
const-string v1, "Close APP"
|
|
|
|
invoke-static {p0, v0, v1}, Lcom/in2wow/sdk/m/l;->a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static e(Landroid/content/Context;)V
|
|
.locals 2
|
|
|
|
.line 125
|
|
check-cast p0, Landroid/app/Activity;
|
|
|
|
const-string v0, "Download failed due to week internet service. Please check your internet service then scan QR code again"
|
|
|
|
const-string v1, "Confirm"
|
|
|
|
invoke-static {p0, v0, v1}, Lcom/in2wow/sdk/m/l;->a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static f(Landroid/content/Context;)V
|
|
.locals 2
|
|
|
|
.line 130
|
|
check-cast p0, Landroid/app/Activity;
|
|
|
|
const-string v0, "Download failed due to server error. Please check your internet service then scan QR code again"
|
|
|
|
const-string v1, "Confirm"
|
|
|
|
invoke-static {p0, v0, v1}, Lcom/in2wow/sdk/m/l;->a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|