.super Landroidx/appcompat/app/AppCompatActivity;
# interfaces
.implements Lpub/devrel/easypermissions/EasyPermissions$PermissionCallbacks;
# static fields
.field private static final TIMEOUT:I = 0x12c
# instance fields
.field PERMISSION_STORAGE_CODE:I
.field PERMISSION_STORAGE_MSG:Ljava/lang/String;
.field protected clickAd:Z
.field private clickCount:I
.field goMainRunnable:Ljava/lang/Runnable;
.field private handler:Landroid/os/Handler;
.field imageView:Landroid/widget/ImageView;
.field splashContainer:Landroid/view/ViewGroup;
# direct methods
.method public constructor [i]()V
.locals 2
invoke-direct {p0}, Landroidx/appcompat/app/AppCompatActivity;->[i]()V
const/4 v0, 0x0
iput v0, p0, Lcom/android/ui/SplashActivity;->clickCount:I
new-instance v1, Landroid/os/Handler;
invoke-direct {v1}, Landroid/os/Handler;->[i]()V
iput-object v1, p0, Lcom/android/ui/SplashActivity;->handler:Landroid/os/Handler;
const-string v1, "\u8bf7\u6388\u4e88\u6743\u9650\uff0c\u5426\u5219\u5f71\u54cd\u90e8\u5206\u4f7f\u7528\u529f\u80fd"
iput-object v1, p0, Lcom/android/ui/SplashActivity;->PERMISSION_STORAGE_MSG:Ljava/lang/String;
const/16 v1, 0x2711
iput v1, p0, Lcom/android/ui/SplashActivity;->PERMISSION_STORAGE_CODE:I
const/4 v1, 0x0
iput-object v1, p0, Lcom/android/ui/SplashActivity;->imageView:Landroid/widget/ImageView;
iput-object v1, p0, Lcom/android/ui/SplashActivity;->splashContainer:Landroid/view/ViewGroup;
iput-boolean v0, p0, Lcom/android/ui/SplashActivity;->clickAd:Z
new-instance v0, Lcom/android/ui/SplashActivity$1;
invoke-direct {v0, p0}, Lcom/android/ui/SplashActivity$1;->[i](Lcom/android/ui/SplashActivity;)V
iput-object v0, p0, Lcom/android/ui/SplashActivity;->goMainRunnable:Ljava/lang/Runnable;
return-void
.end method
.method private aaa()V
.locals 3
invoke-static {}, Ll0l0ll0lo/ll000l/olllllo11lll0o0;->l0oo000llo()Ll0l0ll0lo/ll000l/olllllo11lll0o0;
move-result-object v0
invoke-virtual {v0, p0}, Ll0l0ll0lo/ll000l/olllllo11lll0o0;->l0oo000llo(Landroid/app/Activity;)V
sget v0, Lcom/gibb/easyclick/R$id;->brand:I
invoke-virtual {p0, v0}, Lcom/android/ui/SplashActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/TextView;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V
invoke-static {}, Ll0l0ll0lo/ll000l/l1llo0o0lo;->loo00ooll1o1101()Ll0l0ll0lo/ll000l/l1llo0o0lo;
move-result-object v1
invoke-virtual {v1}, Ll0l0ll0lo/ll000l/l1llo0o0lo;->o111ll00lo0()Ll0l0ll0lo/ll000l/o1l0l0o0l0;
move-result-object v1
if-eqz v1, :cond_0
invoke-static {}, Ll0l0ll0lo/ll000l/l1llo0o0lo;->loo00ooll1o1101()Ll0l0ll0lo/ll000l/l1llo0o0lo;
move-result-object v1
invoke-virtual {v1}, Ll0l0ll0lo/ll000l/l1llo0o0lo;->o111ll00lo0()Ll0l0ll0lo/ll000l/o1l0l0o0l0;
move-result-object v1
invoke-virtual {v1}, Ll0l0ll0lo/ll000l/o1l0l0o0l0;->loo1loo111o()Ljava/lang/String;
move-result-object v1
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v2
if-nez v2, :cond_0
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
:cond_0
invoke-static {}, Ll0l0ll0lo/ll000l/o0ol10l0110ll;->l0oo000llo()Ll0l0ll0lo/ll000l/o0ol10l0110ll;
move-result-object v0
invoke-virtual {v0}, Ll0l0ll0lo/ll000l/o0ol10l0110ll;->ll01ll1o10()V
invoke-direct {p0}, Lcom/android/ui/SplashActivity;->loadMy()V
return-void
.end method
.method static synthetic access$000(Lcom/android/ui/SplashActivity;)V
.locals 0
invoke-direct {p0}, Lcom/android/ui/SplashActivity;->goMain()V
return-void
.end method
.method static synthetic access$100(Lcom/android/ui/SplashActivity;)V
.locals 0
invoke-direct {p0}, Lcom/android/ui/SplashActivity;->init()V
return-void
.end method
.method static synthetic access$200(Lcom/android/ui/SplashActivity;I)V
.locals 0
invoke-direct {p0, p1}, Lcom/android/ui/SplashActivity;->goMain2(I)V
return-void
.end method
.method private goMain()V
.locals 1
invoke-virtual {p0}, Lcom/android/ui/SplashActivity;->isFinishing()Z
move-result v0
if-eqz v0, :cond_0
return-void
:cond_0
invoke-virtual {p0}, Lcom/android/ui/SplashActivity;->finish()V
invoke-direct {p0}, Lcom/android/ui/SplashActivity;->nativeUI()V
return-void
.end method
.method private goMain2(I)V
.locals 4
iget-object v0, p0, Lcom/android/ui/SplashActivity;->handler:Landroid/os/Handler;
iget-object v1, p0, Lcom/android/ui/SplashActivity;->goMainRunnable:Ljava/lang/Runnable;
int-to-long v2, p1
invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
return-void
.end method
.method private gojb()V
.locals 3
new-instance v0, Landroid/content/Intent;
invoke-virtual {p0}, Lcom/android/ui/SplashActivity;->getApplicationContext()Landroid/content/Context;
move-result-object v1
const-class v2, Lcom/android/ui/JubaoActivity;
invoke-direct {v0, v1, v2}, Landroid/content/Intent;->[i](Landroid/content/Context;Ljava/lang/Class;)V
const/high16 v1, 0x10000000
invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;
invoke-virtual {p0}, Lcom/android/ui/SplashActivity;->getApplicationContext()Landroid/content/Context;
move-result-object v1
invoke-virtual {v1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
invoke-virtual {p0}, Lcom/android/ui/SplashActivity;->finish()V
return-void
.end method
.method private init()V
.locals 3
sget-object v0, Lcom/gibb/App;->permissions:[Ljava/lang/String;
invoke-static {p0, v0}, Lpub/devrel/easypermissions/EasyPermissions;->hasPermissions(Landroid/content/Context;[Ljava/lang/String;)Z
move-result v0
if-nez v0, :cond_0
iget-object v0, p0, Lcom/android/ui/SplashActivity;->PERMISSION_STORAGE_MSG:Ljava/lang/String;
iget v1, p0, Lcom/android/ui/SplashActivity;->PERMISSION_STORAGE_CODE:I
sget-object v2, Lcom/gibb/App;->permissions:[Ljava/lang/String;
invoke-static {p0, v0, v1, v2}, Lpub/devrel/easypermissions/EasyPermissions;->requestPermissions(Landroid/app/Activity;Ljava/lang/String;I[Ljava/lang/String;)V
return-void
:cond_0
invoke-static {p0}, Lcom/android/ui/Statusbar;->reset(Landroid/app/Activity;)V
invoke-direct {p0}, Lcom/android/ui/SplashActivity;->aaa()V
invoke-static {}, Ll0l0ll0lo/ll000l/l1llo0o0lo;->loo00ooll1o1101()Ll0l0ll0lo/ll000l/l1llo0o0lo;
move-result-object v0
invoke-virtual {v0}, Ll0l0ll0lo/ll000l/l1llo0o0lo;->o111ll00lo0()Ll0l0ll0lo/ll000l/o1l0l0o0l0;
move-result-object v0
invoke-virtual {v0}, Ll0l0ll0lo/ll000l/o1l0l0o0l0;->o0olo1loo0()Z
move-result v0
if-eqz v0, :cond_1
invoke-static {}, Ll0l0ll0lo/ll000l/l1llo0o0lo;->loo00ooll1o1101()Ll0l0ll0lo/ll000l/l1llo0o0lo;
move-result-object v0
invoke-virtual {v0}, Ll0l0ll0lo/ll000l/l1llo0o0lo;->ol01l0o10o()Z
:cond_1
return-void
.end method
.method private isAgreeProtocol()Z
.locals 2
sget-object v0, Lcom/gibb/easyclick/l0oo000llo;->l0oo000llo:Ljava/lang/Boolean;
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
move-result v0
if-eqz v0, :cond_0
invoke-static {}, Ll0l0ll0lo/ll000l/o1111ol1olo01oo0;->oo110000oo01101()Z
move-result v0
if-eqz v0, :cond_0
invoke-static {p0}, Ll0l0ll0lo/ll000l/l0oooooll1l;->l0oo000llo(Landroid/content/Context;)Ll0l0ll0lo/ll000l/l0oooooll1l;
move-result-object v0
const-string v1, "agree_protocol"
invoke-virtual {v0, v1}, Ll0l0ll0lo/ll000l/l0oooooll1l;->l1ol1llll010o(Ljava/lang/String;)Z
move-result v0
return v0
:cond_0
const/4 v0, 0x1
return v0
.end method
.method private loadMy()V
.locals 3
invoke-static {}, Ll0l0ll0lo/ll000l/olo01001lll0ll0;->l0oo000llo()Ll0l0ll0lo/ll000l/olo01001lll0ll0;
move-result-object v0
iget-object v1, p0, Lcom/android/ui/SplashActivity;->imageView:Landroid/widget/ImageView;
new-instance v2, Lcom/android/ui/SplashActivity$4;
invoke-direct {v2, p0}, Lcom/android/ui/SplashActivity$4;->[i](Lcom/android/ui/SplashActivity;)V
invoke-virtual {v0, p0, v1, v2}, Ll0l0ll0lo/ll000l/olo01001lll0ll0;->l0oo000llo(Landroid/app/Activity;Landroid/widget/ImageView;Ll0l0ll0lo/ll000l/l1l11lo111o1o1o;)V
return-void
.end method
.method private loadSigMob()V
.locals 3
invoke-static {}, Ll0l0ll0lo/ll000l/olllllo11lll0o0;->l0oo000llo()Ll0l0ll0lo/ll000l/olllllo11lll0o0;
move-result-object v0
iget-object v1, p0, Lcom/android/ui/SplashActivity;->splashContainer:Landroid/view/ViewGroup;
new-instance v2, Lcom/android/ui/SplashActivity$3;
invoke-direct {v2, p0}, Lcom/android/ui/SplashActivity$3;->[i](Lcom/android/ui/SplashActivity;)V
invoke-virtual {v0, p0, v1, v2}, Ll0l0ll0lo/ll000l/olllllo11lll0o0;->l0oo000llo(Landroid/app/Activity;Landroid/view/ViewGroup;Ll0l0ll0lo/ll000l/l1l11lo111o1o1o;)V
return-void
.end method
.method private nativeUI()V
.locals 2
new-instance v0, Landroid/content/Intent;
const-class v1, Lcom/android/ui/nativeui/NativeUIActivity;
invoke-direct {v0, p0, v1}, Landroid/content/Intent;->[i](Landroid/content/Context;Ljava/lang/Class;)V
const/high16 v1, 0x10000000
invoke-virtual {v0, v1}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;
invoke-virtual {p0, v0}, Lcom/android/ui/SplashActivity;->startActivity(Landroid/content/Intent;)V
return-void
.end method
.method private permissionOK()V
.locals 1
invoke-static {p0}, Lcom/android/ui/Statusbar;->reset(Landroid/app/Activity;)V
invoke-direct {p0}, Lcom/android/ui/SplashActivity;->aaa()V
invoke-static {}, Ll0l0ll0lo/ll000l/l1llo0o0lo;->loo00ooll1o1101()Ll0l0ll0lo/ll000l/l1llo0o0lo;
move-result-object v0
invoke-virtual {v0}, Ll0l0ll0lo/ll000l/l1llo0o0lo;->o111ll00lo0()Ll0l0ll0lo/ll000l/o1l0l0o0l0;
move-result-object v0
invoke-virtual {v0}, Ll0l0ll0lo/ll000l/o1l0l0o0l0;->o0olo1loo0()Z
move-result v0
if-eqz v0, :cond_0
invoke-static {}, Ll0l0ll0lo/ll000l/l1llo0o0lo;->loo00ooll1o1101()Ll0l0ll0lo/ll000l/l1llo0o0lo;
move-result-object v0
invoke-virtual {v0}, Ll0l0ll0lo/ll000l/l1llo0o0lo;->ol01l0o10o()Z
:cond_0
return-void
.end method
.method private showProtocolDialog()V
.locals 1
new-instance v0, Lcom/android/ui/SplashActivity$2;
invoke-direct {v0, p0}, Lcom/android/ui/SplashActivity$2;->[i](Lcom/android/ui/SplashActivity;)V
invoke-static {p0, v0}, Lcom/android/ui/UserProtocol;->showDialog(Landroid/app/Activity;Lcom/android/ui/UserProtocol$UserProtocolDialogAction;)V
return-void
.end method
# virtual methods
.method public synthetic lambda$onCreate$0$SplashActivity(Landroid/view/View;)Z
.locals 0
invoke-direct {p0}, Lcom/android/ui/SplashActivity;->gojb()V
const/4 p1, 0x1
return p1
.end method
.method public synthetic lambda$onCreate$1$SplashActivity(Landroid/view/View;)V
.locals 1
iget p1, p0, Lcom/android/ui/SplashActivity;->clickCount:I
add-int/lit8 p1, p1, 0x1
iput p1, p0, Lcom/android/ui/SplashActivity;->clickCount:I
const/4 v0, 0x2
if-ne p1, v0, :cond_0
invoke-direct {p0}, Lcom/android/ui/SplashActivity;->gojb()V
const/4 p1, 0x0
iput p1, p0, Lcom/android/ui/SplashActivity;->clickCount:I
:cond_0
return-void
.end method
.method public onConfigurationChanged(Landroid/content/res/Configuration;)V
.locals 0
invoke-super {p0, p1}, Landroidx/appcompat/app/AppCompatActivity;->onConfigurationChanged(Landroid/content/res/Configuration;)V
return-void
.end method
.method protected onCreate(Landroid/os/Bundle;)V
.locals 1
invoke-super {p0, p1}, Landroidx/appcompat/app/AppCompatActivity;->onCreate(Landroid/os/Bundle;)V
sget p1, Lcom/gibb/easyclick/R$layout;->splash_acvitity:I
invoke-virtual {p0, p1}, Lcom/android/ui/SplashActivity;->setContentView(I)V
sget p1, Lcom/gibb/easyclick/R$id;->bottom_layout:I
invoke-virtual {p0, p1}, Lcom/android/ui/SplashActivity;->findViewById(I)Landroid/view/View;
move-result-object p1
sget v0, Lcom/gibb/easyclick/R$id;->image:I
invoke-virtual {p0, v0}, Lcom/android/ui/SplashActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/ImageView;
iput-object v0, p0, Lcom/android/ui/SplashActivity;->imageView:Landroid/widget/ImageView;
sget v0, Lcom/gibb/easyclick/R$id;->splashContainer:I
invoke-virtual {p0, v0}, Lcom/android/ui/SplashActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/view/ViewGroup;
iput-object v0, p0, Lcom/android/ui/SplashActivity;->splashContainer:Landroid/view/ViewGroup;
if-eqz p1, :cond_0
new-instance v0, Lcom/android/ui/-$$Lambda$SplashActivity$Rr31qZ7WuqTf-2ZD0Px2DJFazT4;
invoke-direct {v0, p0}, Lcom/android/ui/-$$Lambda$SplashActivity$Rr31qZ7WuqTf-2ZD0Px2DJFazT4;->[i](Lcom/android/ui/SplashActivity;)V
invoke-virtual {p1, v0}, Landroid/view/View;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V
new-instance v0, Lcom/android/ui/-$$Lambda$SplashActivity$4pf-n26M1ddt_jqIlrNgWKCbdlc;
invoke-direct {v0, p0}, Lcom/android/ui/-$$Lambda$SplashActivity$4pf-n26M1ddt_jqIlrNgWKCbdlc;->[i](Lcom/android/ui/SplashActivity;)V
invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
:cond_0
invoke-direct {p0}, Lcom/android/ui/SplashActivity;->isAgreeProtocol()Z
move-result p1
if-nez p1, :cond_1
invoke-direct {p0}, Lcom/android/ui/SplashActivity;->showProtocolDialog()V
return-void
:cond_1
invoke-direct {p0}, Lcom/android/ui/SplashActivity;->init()V
return-void
.end method
.method public onPermissionsDenied(ILjava/util/List;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Ljava/util/List;)V"
}
.end annotation
invoke-virtual {p0}, Lcom/android/ui/SplashActivity;->getApplicationContext()Landroid/content/Context;
move-result-object p1
sget-object p2, Lcom/gibb/App;->permissions2:[Ljava/lang/String;
invoke-static {p1, p2}, Lpub/devrel/easypermissions/EasyPermissions;->hasPermissions(Landroid/content/Context;[Ljava/lang/String;)Z
move-result p1
if-nez p1, :cond_0
new-instance p1, Lpub/devrel/easypermissions/AppSettingsDialog$Builder;
invoke-direct {p1, p0}, Lpub/devrel/easypermissions/AppSettingsDialog$Builder;->[i](Landroid/app/Activity;)V
invoke-virtual {p1}, Lpub/devrel/easypermissions/AppSettingsDialog$Builder;->build()Lpub/devrel/easypermissions/AppSettingsDialog;
move-result-object p1
invoke-virtual {p1}, Lpub/devrel/easypermissions/AppSettingsDialog;->show()V
invoke-virtual {p0}, Lcom/android/ui/SplashActivity;->finish()V
goto :goto_0
:cond_0
const-string p1, "\u521d\u59cb\u5316222"
const-string p2, "\u521d\u59cb\u5316222...."
invoke-static {p1, p2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
invoke-static {}, Lcom/gibb/App;->init()V
invoke-direct {p0}, Lcom/android/ui/SplashActivity;->permissionOK()V
:goto_0
return-void
.end method
.method public onPermissionsGranted(ILjava/util/List;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Ljava/util/List;)V"
}
.end annotation
invoke-virtual {p0}, Lcom/android/ui/SplashActivity;->getApplicationContext()Landroid/content/Context;
move-result-object p1
sget-object p2, Lcom/gibb/App;->permissions2:[Ljava/lang/String;
invoke-static {p1, p2}, Lpub/devrel/easypermissions/EasyPermissions;->hasPermissions(Landroid/content/Context;[Ljava/lang/String;)Z
move-result p1
if-nez p1, :cond_0
new-instance p1, Lpub/devrel/easypermissions/AppSettingsDialog$Builder;
invoke-direct {p1, p0}, Lpub/devrel/easypermissions/AppSettingsDialog$Builder;->[i](Landroid/app/Activity;)V
invoke-virtual {p1}, Lpub/devrel/easypermissions/AppSettingsDialog$Builder;->build()Lpub/devrel/easypermissions/AppSettingsDialog;
move-result-object p1
invoke-virtual {p1}, Lpub/devrel/easypermissions/AppSettingsDialog;->show()V
invoke-virtual {p0}, Lcom/android/ui/SplashActivity;->finish()V
goto :goto_0
:cond_0
const-string p1, "\u521d\u59cb\u531633333"
const-string p2, "\u521d\u59cb\u531633333...."
invoke-static {p1, p2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
invoke-static {}, Lcom/gibb/App;->init()V
invoke-direct {p0}, Lcom/android/ui/SplashActivity;->permissionOK()V
:goto_0
return-void
.end method
.method public onRequestPermissionsResult(I[Ljava/lang/String;[I)V
.locals 2
invoke-super {p0, p1, p2, p3}, Landroidx/appcompat/app/AppCompatActivity;->onRequestPermissionsResult(I[Ljava/lang/String;[I)V
const/4 v0, 0x1
new-array v0, v0, [Ljava/lang/Object;
const/4 v1, 0x0
aput-object p0, v0, v1
invoke-static {p1, p2, p3, v0}, Lpub/devrel/easypermissions/EasyPermissions;->onRequestPermissionsResult(I[Ljava/lang/String;[I[Ljava/lang/Object;)V
return-void
.end method
.method protected onResume()V
.locals 1
invoke-super {p0}, Landroidx/appcompat/app/AppCompatActivity;->onResume()V
invoke-static {p0}, Ll0l0ll0lo/ll000l/o011oooloo;->l0oo000llo(Landroid/content/Context;)Z
move-result v0
if-nez v0, :cond_0
invoke-static {p0}, Ll0l0ll0lo/ll000l/o011oooloo;->ll01ll1o10(Landroid/content/Context;)Z
:cond_0
iget-boolean v0, p0, Lcom/android/ui/SplashActivity;->clickAd:Z
if-eqz v0, :cond_1
invoke-direct {p0}, Lcom/android/ui/SplashActivity;->goMain()V
:cond_1
return-void
.end method