【新人求助】apk文件过模拟器检测怎么改
本帖最后由 CL18808697459 于 2021-1-27 22:32 编辑.class public Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;
.super Landroid/app/Activity;
# instance fields
.field private a:Z
.field private b:Ljava/util/ArrayList;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/ArrayList<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field private c:I
# direct methods
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Landroid/app/Activity;-><init>()V
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->a:Z
const/4 v0, -0x1
iput v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->c:I
return-void
.end method
.method static synthetic a(Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;I)I
.locals 0
iput p1, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->c:I
return p1
.end method
.method private a(ILcom/ssjj/fnsdk/core/util/permission/GrantHelper;[Ljava/lang/String;)V
.locals 5
const-string v0, "\u6743\u9650\u7533\u8bf7"
const-string v1, "\u4e3a\u4fdd\u8bc1\u6e38\u620f\u6b63\u5e38\u8fd0\u884c\uff0c\u8bf7\u5f00\u542f\u76f8\u5e94\u6743\u9650\uff0c\u5426\u5219\u53ef\u80fd\u4f1a\u5f71\u54cd\u6e38\u620f\u7684\u6b63\u5e38\u8fd0\u884c\u3002"
const-string v2, "\u53d6\u6d88"
const-string v3, "\u53bb\u8bbe\u7f6e"
if-eqz p2, :cond_3
invoke-virtual {p2, p3}, Lcom/ssjj/fnsdk/core/util/permission/GrantHelper;->title([Ljava/lang/String;)Ljava/lang/String;
move-result-object v4
invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v4
if-nez v4, :cond_0
invoke-virtual {p2, p3}, Lcom/ssjj/fnsdk/core/util/permission/GrantHelper;->title([Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
:cond_0
invoke-virtual {p2, p3}, Lcom/ssjj/fnsdk/core/util/permission/GrantHelper;->rationale([Ljava/lang/String;)Ljava/lang/String;
move-result-object v4
invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v4
if-nez v4, :cond_1
invoke-virtual {p2, p3}, Lcom/ssjj/fnsdk/core/util/permission/GrantHelper;->rationale([Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
:cond_1
invoke-virtual {p2}, Lcom/ssjj/fnsdk/core/util/permission/GrantHelper;->btnCancel()Ljava/lang/String;
move-result-object v4
invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v4
if-nez v4, :cond_2
invoke-virtual {p2}, Lcom/ssjj/fnsdk/core/util/permission/GrantHelper;->btnCancel()Ljava/lang/String;
move-result-object v2
:cond_2
invoke-virtual {p2}, Lcom/ssjj/fnsdk/core/util/permission/GrantHelper;->btnOk()Ljava/lang/String;
move-result-object v4
invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v4
if-nez v4, :cond_3
invoke-virtual {p2}, Lcom/ssjj/fnsdk/core/util/permission/GrantHelper;->btnOk()Ljava/lang/String;
move-result-object v3
:cond_3
new-instance p2, Lcom/ssjj/fnsdk/core/util/permission/a;
invoke-direct {p2, p0, p0, p1, p3}, Lcom/ssjj/fnsdk/core/util/permission/a;-><init>(Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;Landroid/content/Context;I[Ljava/lang/String;)V
invoke-virtual {p2, v0}, Lcom/ssjj/fnsdk/core/util/permission/a;->title(Ljava/lang/String;)Lcom/ssjj/fnsdk/core/util/permission/GrantDialog;
move-result-object p0
invoke-virtual {p0, v1}, Lcom/ssjj/fnsdk/core/util/permission/GrantDialog;->message(Ljava/lang/String;)Lcom/ssjj/fnsdk/core/util/permission/GrantDialog;
move-result-object p0
invoke-virtual {p0, v2}, Lcom/ssjj/fnsdk/core/util/permission/GrantDialog;->btnCancel(Ljava/lang/String;)Lcom/ssjj/fnsdk/core/util/permission/GrantDialog;
move-result-object p0
invoke-virtual {p0, v3}, Lcom/ssjj/fnsdk/core/util/permission/GrantDialog;->btnOk(Ljava/lang/String;)Lcom/ssjj/fnsdk/core/util/permission/GrantDialog;
move-result-object p0
invoke-virtual {p0}, Lcom/ssjj/fnsdk/core/util/permission/GrantDialog;->show()V
return-void
.end method
.method private a(Landroid/content/Intent;)V
.locals 2
if-eqz p1, :cond_2
:try_start_0
const-string v0, "requestCode"
const/4 v1, -0x1
invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I
move-result v0
const-string v1, "requestPermission"
invoke-virtual {p1, v1}, Landroid/content/Intent;->getStringArrayListExtra(Ljava/lang/String;)Ljava/util/ArrayList;
move-result-object p1
if-eqz p1, :cond_1
invoke-virtual {p1}, Ljava/util/ArrayList;->size()I
move-result v1
if-nez v1, :cond_0
goto :goto_0
:cond_0
const-string v1, "Start request permissions..."
invoke-static {v1}, Lcom/ssjj/fnsdk/core/LogUtil;->i(Ljava/lang/String;)V
invoke-virtual {p1}, Ljava/util/ArrayList;->size()I
move-result v1
new-array v1, v1, [Ljava/lang/String;
invoke-virtual {p1, v1}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object p1
check-cast p1, [Ljava/lang/String;
invoke-static {}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->getInstance()Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;
move-result-object v1
invoke-virtual {v1, p0, p1, v0}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->a(Landroid/app/Activity;[Ljava/lang/String;I)V
return-void
:cond_1
:goto_0
invoke-static {}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->getInstance()Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;
move-result-object p1
invoke-virtual {p1, v0}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->b(I)V
return-void
:catch_0
move-exception p1
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V
:cond_2
invoke-virtual {p0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->finish()V
return-void
.end method
.method private a(Landroid/content/Context;)Z
.locals 5
const/4 p0, 0x1
const/4 v0, 0x0
:try_start_0
new-instance v1, Landroid/content/Intent;
invoke-direct {v1}, Landroid/content/Intent;-><init>()V
const-string v2, "android.settings.APPLICATION_DETAILS_SETTINGS"
invoke-virtual {v1, v2}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;
const-string v2, "package"
invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
move-result-object v3
const/4 v4, 0x0
invoke-static {v2, v3, v4}, Landroid/net/Uri;->fromParts(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;
move-result-object v2
invoke-virtual {v1, v2}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;
invoke-virtual {p1, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
return p0
:catch_0
move-exception p0
:try_end_0
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
invoke-virtual {p0}, Ljava/lang/Throwable;->printStackTrace()V
move p0, v0
return p0
.end method
.method static synthetic a(Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;)Z
.locals 0
iget-boolean p0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->a:Z
return p0
.end method
.method static synthetic a(Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;Landroid/content/Context;)Z
.locals 0
invoke-direct {p0, p1}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->a(Landroid/content/Context;)Z
move-result p0
return p0
.end method
.method static synthetic a(Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;Z)Z
.locals 0
iput-boolean p1, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->a:Z
return p1
.end method
# virtual methods
.method protected a()V
.locals 1
const/4 v0, 0x1
invoke-virtual {p0, v0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->requestWindowFeature(I)Z
invoke-virtual {p0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->getWindow()Landroid/view/Window;
move-result-object p0
const/16 v0, 0x400
invoke-virtual {p0, v0, v0}, Landroid/view/Window;->setFlags(II)V
return-void
.end method
.method protected b()V
.locals 3
:try_start_0
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x13
const/16 v2, 0xb
if-le v0, v2, :cond_0
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
if-ge v0, v1, :cond_0
invoke-virtual {p0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->getWindow()Landroid/view/Window;
move-result-object p0
invoke-virtual {p0}, Landroid/view/Window;->getDecorView()Landroid/view/View;
move-result-object p0
const/16 v0, 0x8
:goto_0
invoke-virtual {p0, v0}, Landroid/view/View;->setSystemUiVisibility(I)V
return-void
:cond_0
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
if-lt v0, v1, :cond_1
invoke-virtual {p0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->getWindow()Landroid/view/Window;
move-result-object p0
invoke-virtual {p0}, Landroid/view/Window;->getDecorView()Landroid/view/View;
move-result-object p0
const/16 v0, 0x1006
goto :goto_0
:catch_0
:cond_1
return-void
:try_end_0
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
.end method
.method public finish()V
.locals 1
const/4 v0, 0x0
invoke-virtual {p0, v0, v0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->overridePendingTransition(II)V
invoke-super {p0}, Landroid/app/Activity;->finish()V
return-void
.end method
.method protected onCreate(Landroid/os/Bundle;)V
.locals 0
invoke-virtual {p0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->a()V
invoke-virtual {p0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b()V
invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V
if-nez p1, :cond_0
invoke-virtual {p0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->getIntent()Landroid/content/Intent;
move-result-object p1
invoke-direct {p0, p1}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->a(Landroid/content/Intent;)V
return-void
:cond_0
invoke-virtual {p0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->finish()V
return-void
.end method
.method protected onNewIntent(Landroid/content/Intent;)V
.locals 0
invoke-super {p0, p1}, Landroid/app/Activity;->onNewIntent(Landroid/content/Intent;)V
invoke-direct {p0, p1}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->a(Landroid/content/Intent;)V
return-void
.end method
.method public onRequestPermissionsResult(I[Ljava/lang/String;[I)V
.locals 3
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "Hook request result, requestCode="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lcom/ssjj/fnsdk/core/LogUtil;->i(Ljava/lang/String;)V
iget-object v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
:cond_0
if-eqz p2, :cond_6
new-instance v0, Ljava/util/ArrayList;
array-length v1, p2
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
iput-object v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
const/4 v0, 0x0
:goto_0
array-length v1, p2
if-ge v0, v1, :cond_2
aget-object v1, p2, v0
if-eqz p3, :cond_1
aget v2, p3, v0
if-eqz v2, :cond_1
iget-object v2, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {v2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
:cond_1
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_2
iget-object p2, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {p2}, Ljava/util/ArrayList;->size()I
move-result p2
if-lez p2, :cond_5
invoke-static {}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->getInstance()Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;
move-result-object p2
invoke-virtual {p2, p1}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->a(I)Lcom/ssjj/fnsdk/core/util/permission/GrantHelper;
move-result-object p2
if-eqz p2, :cond_4
invoke-virtual {p2}, Lcom/ssjj/fnsdk/core/util/permission/GrantHelper;->needShowCustomRequestDialog()Z
move-result p3
if-nez p3, :cond_3
goto :goto_1
:cond_3
const-string p3, "Show custom request permission dialog"
invoke-static {p3}, Lcom/ssjj/fnsdk/core/LogUtil;->i(Ljava/lang/String;)V
iget-object p3, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
iget-object v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v0
new-array v0, v0, [Ljava/lang/String;
invoke-virtual {p3, v0}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object p3
check-cast p3, [Ljava/lang/String;
invoke-direct {p0, p1, p2, p3}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->a(ILcom/ssjj/fnsdk/core/util/permission/GrantHelper;[Ljava/lang/String;)V
return-void
:cond_4
:goto_1
invoke-static {}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->getInstance()Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;
move-result-object p2
iget-object p3, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
iget-object v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v0
new-array v0, v0, [Ljava/lang/String;
invoke-virtual {p3, v0}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object p3
check-cast p3, [Ljava/lang/String;
invoke-virtual {p2, p1, p3}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->a(I[Ljava/lang/String;)V
goto :goto_2
:cond_5
invoke-static {}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->getInstance()Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;
move-result-object p2
invoke-virtual {p2, p1}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->b(I)V
:goto_2
invoke-virtual {p0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->finish()V
:cond_6
return-void
.end method
.method protected onResume()V
.locals 4
invoke-super {p0}, Landroid/app/Activity;->onResume()V
iget-boolean v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->a:Z
if-eqz v0, :cond_3
iget-object v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
if-eqz v0, :cond_3
iget-object v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v0
if-lez v0, :cond_3
iget v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->c:I
const/4 v1, -0x1
if-eq v0, v1, :cond_3
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->a:Z
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "##onResume before settings, denied permissions size: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {v1}, Ljava/util/ArrayList;->size()I
move-result v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lcom/ssjj/fnsdk/core/LogUtil;->i(Ljava/lang/String;)V
new-instance v0, Ljava/util/LinkedList;
invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V
iget-object v1, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {v1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object v1
:cond_0
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/String;
invoke-static {}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->getInstance()Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;
move-result-object v3
invoke-virtual {v3, p0, v2}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)Z
move-result v3
if-eqz v3, :cond_0
invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_1
iget-object v1, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->removeAll(Ljava/util/Collection;)Z
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "##onResume after settings, denied permissions size: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {v1}, Ljava/util/ArrayList;->size()I
move-result v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lcom/ssjj/fnsdk/core/LogUtil;->i(Ljava/lang/String;)V
iget-object v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v0
if-lez v0, :cond_2
invoke-static {}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->getInstance()Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;
move-result-object v0
iget v1, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->c:I
iget-object v2, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
iget-object v3, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {v3}, Ljava/util/ArrayList;->size()I
move-result v3
new-array v3, v3, [Ljava/lang/String;
invoke-virtual {v2, v3}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object v2
check-cast v2, [Ljava/lang/String;
invoke-virtual {v0, v1, v2}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->a(I[Ljava/lang/String;)V
goto :goto_1
:cond_2
invoke-static {}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->getInstance()Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;
move-result-object v0
iget v1, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->c:I
invoke-virtual {v0, v1}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->b(I)V
:goto_1
invoke-virtual {p0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->finish()V
:cond_3
return-void
.end method
.method public onSaveInstanceState(Landroid/os/Bundle;)V
.locals 0
invoke-super {p0, p1}, Landroid/app/Activity;->onSaveInstanceState(Landroid/os/Bundle;)V
return-void
.end method
.class public Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;
.super Landroid/app/Activity;
# instance fields
.field private a:Z
.field private b:Ljava/util/ArrayList;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/ArrayList<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field private c:I
# direct methods
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Landroid/app/Activity;-><init>()V
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->a:Z
const/4 v0, -0x1
iput v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->c:I
return-void
.end method
.method static synthetic a(Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;I)I
.locals 0
iput p1, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->c:I
return p1
.end method
.method private a(ILcom/ssjj/fnsdk/core/util/permission/GrantHelper;[Ljava/lang/String;)V
.locals 5
const-string v0, "\u6743\u9650\u7533\u8bf7"
const-string v1, "\u4e3a\u4fdd\u8bc1\u6e38\u620f\u6b63\u5e38\u8fd0\u884c\uff0c\u8bf7\u5f00\u542f\u76f8\u5e94\u6743\u9650\uff0c\u5426\u5219\u53ef\u80fd\u4f1a\u5f71\u54cd\u6e38\u620f\u7684\u6b63\u5e38\u8fd0\u884c\u3002"
const-string v2, "\u53d6\u6d88"
const-string v3, "\u53bb\u8bbe\u7f6e"
if-eqz p2, :cond_3
invoke-virtual {p2, p3}, Lcom/ssjj/fnsdk/core/util/permission/GrantHelper;->title([Ljava/lang/String;)Ljava/lang/String;
move-result-object v4
invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v4
if-nez v4, :cond_0
invoke-virtual {p2, p3}, Lcom/ssjj/fnsdk/core/util/permission/GrantHelper;->title([Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
:cond_0
invoke-virtual {p2, p3}, Lcom/ssjj/fnsdk/core/util/permission/GrantHelper;->rationale([Ljava/lang/String;)Ljava/lang/String;
move-result-object v4
invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v4
if-nez v4, :cond_1
invoke-virtual {p2, p3}, Lcom/ssjj/fnsdk/core/util/permission/GrantHelper;->rationale([Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
:cond_1
invoke-virtual {p2}, Lcom/ssjj/fnsdk/core/util/permission/GrantHelper;->btnCancel()Ljava/lang/String;
move-result-object v4
invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v4
if-nez v4, :cond_2
invoke-virtual {p2}, Lcom/ssjj/fnsdk/core/util/permission/GrantHelper;->btnCancel()Ljava/lang/String;
move-result-object v2
:cond_2
invoke-virtual {p2}, Lcom/ssjj/fnsdk/core/util/permission/GrantHelper;->btnOk()Ljava/lang/String;
move-result-object v4
invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v4
if-nez v4, :cond_3
invoke-virtual {p2}, Lcom/ssjj/fnsdk/core/util/permission/GrantHelper;->btnOk()Ljava/lang/String;
move-result-object v3
:cond_3
new-instance p2, Lcom/ssjj/fnsdk/core/util/permission/a;
invoke-direct {p2, p0, p0, p1, p3}, Lcom/ssjj/fnsdk/core/util/permission/a;-><init>(Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;Landroid/content/Context;I[Ljava/lang/String;)V
invoke-virtual {p2, v0}, Lcom/ssjj/fnsdk/core/util/permission/a;->title(Ljava/lang/String;)Lcom/ssjj/fnsdk/core/util/permission/GrantDialog;
move-result-object p0
invoke-virtual {p0, v1}, Lcom/ssjj/fnsdk/core/util/permission/GrantDialog;->message(Ljava/lang/String;)Lcom/ssjj/fnsdk/core/util/permission/GrantDialog;
move-result-object p0
invoke-virtual {p0, v2}, Lcom/ssjj/fnsdk/core/util/permission/GrantDialog;->btnCancel(Ljava/lang/String;)Lcom/ssjj/fnsdk/core/util/permission/GrantDialog;
move-result-object p0
invoke-virtual {p0, v3}, Lcom/ssjj/fnsdk/core/util/permission/GrantDialog;->btnOk(Ljava/lang/String;)Lcom/ssjj/fnsdk/core/util/permission/GrantDialog;
move-result-object p0
invoke-virtual {p0}, Lcom/ssjj/fnsdk/core/util/permission/GrantDialog;->show()V
return-void
.end method
.method private a(Landroid/content/Intent;)V
.locals 2
if-eqz p1, :cond_2
:try_start_0
const-string v0, "requestCode"
const/4 v1, -0x1
invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I
move-result v0
const-string v1, "requestPermission"
invoke-virtual {p1, v1}, Landroid/content/Intent;->getStringArrayListExtra(Ljava/lang/String;)Ljava/util/ArrayList;
move-result-object p1
if-eqz p1, :cond_1
invoke-virtual {p1}, Ljava/util/ArrayList;->size()I
move-result v1
if-nez v1, :cond_0
goto :goto_0
:cond_0
const-string v1, "Start request permissions..."
invoke-static {v1}, Lcom/ssjj/fnsdk/core/LogUtil;->i(Ljava/lang/String;)V
invoke-virtual {p1}, Ljava/util/ArrayList;->size()I
move-result v1
new-array v1, v1, [Ljava/lang/String;
invoke-virtual {p1, v1}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object p1
check-cast p1, [Ljava/lang/String;
invoke-static {}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->getInstance()Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;
move-result-object v1
invoke-virtual {v1, p0, p1, v0}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->a(Landroid/app/Activity;[Ljava/lang/String;I)V
return-void
:cond_1
:goto_0
invoke-static {}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->getInstance()Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;
move-result-object p1
invoke-virtual {p1, v0}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->b(I)V
return-void
:catch_0
move-exception p1
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V
:cond_2
invoke-virtual {p0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->finish()V
return-void
.end method
.method private a(Landroid/content/Context;)Z
.locals 5
const/4 p0, 0x1
const/4 v0, 0x0
:try_start_0
new-instance v1, Landroid/content/Intent;
invoke-direct {v1}, Landroid/content/Intent;-><init>()V
const-string v2, "android.settings.APPLICATION_DETAILS_SETTINGS"
invoke-virtual {v1, v2}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;
const-string v2, "package"
invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
move-result-object v3
const/4 v4, 0x0
invoke-static {v2, v3, v4}, Landroid/net/Uri;->fromParts(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;
move-result-object v2
invoke-virtual {v1, v2}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;
invoke-virtual {p1, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
return p0
:catch_0
move-exception p0
:try_end_0
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
invoke-virtual {p0}, Ljava/lang/Throwable;->printStackTrace()V
move p0, v0
return p0
.end method
.method static synthetic a(Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;)Z
.locals 0
iget-boolean p0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->a:Z
return p0
.end method
.method static synthetic a(Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;Landroid/content/Context;)Z
.locals 0
invoke-direct {p0, p1}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->a(Landroid/content/Context;)Z
move-result p0
return p0
.end method
.method static synthetic a(Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;Z)Z
.locals 0
iput-boolean p1, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->a:Z
return p1
.end method
# virtual methods
.method protected a()V
.locals 1
const/4 v0, 0x1
invoke-virtual {p0, v0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->requestWindowFeature(I)Z
invoke-virtual {p0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->getWindow()Landroid/view/Window;
move-result-object p0
const/16 v0, 0x400
invoke-virtual {p0, v0, v0}, Landroid/view/Window;->setFlags(II)V
return-void
.end method
.method protected b()V
.locals 3
:try_start_0
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x13
const/16 v2, 0xb
if-le v0, v2, :cond_0
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
if-ge v0, v1, :cond_0
invoke-virtual {p0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->getWindow()Landroid/view/Window;
move-result-object p0
invoke-virtual {p0}, Landroid/view/Window;->getDecorView()Landroid/view/View;
move-result-object p0
const/16 v0, 0x8
:goto_0
invoke-virtual {p0, v0}, Landroid/view/View;->setSystemUiVisibility(I)V
return-void
:cond_0
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
if-lt v0, v1, :cond_1
invoke-virtual {p0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->getWindow()Landroid/view/Window;
move-result-object p0
invoke-virtual {p0}, Landroid/view/Window;->getDecorView()Landroid/view/View;
move-result-object p0
const/16 v0, 0x1006
goto :goto_0
:catch_0
:cond_1
return-void
:try_end_0
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
.end method
.method public finish()V
.locals 1
const/4 v0, 0x0
invoke-virtual {p0, v0, v0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->overridePendingTransition(II)V
invoke-super {p0}, Landroid/app/Activity;->finish()V
return-void
.end method
.method protected onCreate(Landroid/os/Bundle;)V
.locals 0
invoke-virtual {p0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->a()V
invoke-virtual {p0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b()V
invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V
if-nez p1, :cond_0
invoke-virtual {p0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->getIntent()Landroid/content/Intent;
move-result-object p1
invoke-direct {p0, p1}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->a(Landroid/content/Intent;)V
return-void
:cond_0
invoke-virtual {p0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->finish()V
return-void
.end method
.method protected onNewIntent(Landroid/content/Intent;)V
.locals 0
invoke-super {p0, p1}, Landroid/app/Activity;->onNewIntent(Landroid/content/Intent;)V
invoke-direct {p0, p1}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->a(Landroid/content/Intent;)V
return-void
.end method
.method public onRequestPermissionsResult(I[Ljava/lang/String;[I)V
.locals 3
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "Hook request result, requestCode="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lcom/ssjj/fnsdk/core/LogUtil;->i(Ljava/lang/String;)V
iget-object v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
:cond_0
if-eqz p2, :cond_6
new-instance v0, Ljava/util/ArrayList;
array-length v1, p2
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
iput-object v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
const/4 v0, 0x0
:goto_0
array-length v1, p2
if-ge v0, v1, :cond_2
aget-object v1, p2, v0
if-eqz p3, :cond_1
aget v2, p3, v0
if-eqz v2, :cond_1
iget-object v2, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {v2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
:cond_1
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_2
iget-object p2, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {p2}, Ljava/util/ArrayList;->size()I
move-result p2
if-lez p2, :cond_5
invoke-static {}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->getInstance()Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;
move-result-object p2
invoke-virtual {p2, p1}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->a(I)Lcom/ssjj/fnsdk/core/util/permission/GrantHelper;
move-result-object p2
if-eqz p2, :cond_4
invoke-virtual {p2}, Lcom/ssjj/fnsdk/core/util/permission/GrantHelper;->needShowCustomRequestDialog()Z
move-result p3
if-nez p3, :cond_3
goto :goto_1
:cond_3
const-string p3, "Show custom request permission dialog"
invoke-static {p3}, Lcom/ssjj/fnsdk/core/LogUtil;->i(Ljava/lang/String;)V
iget-object p3, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
iget-object v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v0
new-array v0, v0, [Ljava/lang/String;
invoke-virtual {p3, v0}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object p3
check-cast p3, [Ljava/lang/String;
invoke-direct {p0, p1, p2, p3}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->a(ILcom/ssjj/fnsdk/core/util/permission/GrantHelper;[Ljava/lang/String;)V
return-void
:cond_4
:goto_1
invoke-static {}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->getInstance()Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;
move-result-object p2
iget-object p3, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
iget-object v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v0
new-array v0, v0, [Ljava/lang/String;
invoke-virtual {p3, v0}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object p3
check-cast p3, [Ljava/lang/String;
invoke-virtual {p2, p1, p3}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->a(I[Ljava/lang/String;)V
goto :goto_2
:cond_5
invoke-static {}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->getInstance()Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;
move-result-object p2
invoke-virtual {p2, p1}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->b(I)V
:goto_2
invoke-virtual {p0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->finish()V
:cond_6
return-void
.end method
.method protected onResume()V
.locals 4
invoke-super {p0}, Landroid/app/Activity;->onResume()V
iget-boolean v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->a:Z
if-eqz v0, :cond_3
iget-object v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
if-eqz v0, :cond_3
iget-object v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v0
if-lez v0, :cond_3
iget v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->c:I
const/4 v1, -0x1
if-eq v0, v1, :cond_3
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->a:Z
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "##onResume before settings, denied permissions size: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {v1}, Ljava/util/ArrayList;->size()I
move-result v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lcom/ssjj/fnsdk/core/LogUtil;->i(Ljava/lang/String;)V
new-instance v0, Ljava/util/LinkedList;
invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V
iget-object v1, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {v1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object v1
:cond_0
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/String;
invoke-static {}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->getInstance()Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;
move-result-object v3
invoke-virtual {v3, p0, v2}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)Z
move-result v3
if-eqz v3, :cond_0
invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_1
iget-object v1, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->removeAll(Ljava/util/Collection;)Z
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "##onResume after settings, denied permissions size: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {v1}, Ljava/util/ArrayList;->size()I
move-result v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lcom/ssjj/fnsdk/core/LogUtil;->i(Ljava/lang/String;)V
iget-object v0, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v0
if-lez v0, :cond_2
invoke-static {}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->getInstance()Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;
move-result-object v0
iget v1, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->c:I
iget-object v2, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
iget-object v3, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->b:Ljava/util/ArrayList;
invoke-virtual {v3}, Ljava/util/ArrayList;->size()I
move-result v3
new-array v3, v3, [Ljava/lang/String;
invoke-virtual {v2, v3}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object v2
check-cast v2, [Ljava/lang/String;
invoke-virtual {v0, v1, v2}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->a(I[Ljava/lang/String;)V
goto :goto_1
:cond_2
invoke-static {}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->getInstance()Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;
move-result-object v0
iget v1, p0, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->c:I
invoke-virtual {v0, v1}, Lcom/ssjj/fnsdk/core/util/permission/PermissionMgr;->b(I)V
:goto_1
invoke-virtual {p0}, Lcom/ssjj/fnsdk/core/util/permission/FNGrantActivity;->finish()V
:cond_3
return-void
.end method
.method public onSaveInstanceState(Landroid/os/Bundle;)V
.locals 0
invoke-super {p0, p1}, Landroid/app/Activity;->onSaveInstanceState(Landroid/os/Bundle;)V
return-void
.end method
.class public Lcom/tjb/ymjh_gdt/wxapi/WXEntryActivity;
.super Lcom/ssjjsy/sdk/wxapi/WXEventHandlerActivity;
.source "WXEntryActivity.java"
# direct methods
.method public constructor <init>()V
.locals 0
.line 6
invoke-direct {p0}, Lcom/ssjjsy/sdk/wxapi/WXEventHandlerActivity;-><init>()V
return-void
.end method
.class public Lcom/tjb/ymjh_gdt/wxapi/WXPayEntryActivity;
.super Lcom/ssjjsy/sdk/wxapi/WXPayEventHandlerActivity;
.source "WXPayEntryActivity.java"
# direct methods
.method public constructor <init>()V
.locals 0
.line 5
invoke-direct {p0}, Lcom/ssjjsy/sdk/wxapi/WXPayEventHandlerActivity;-><init>()V
return-void
.end method
.class public final Lcom/unionpay/uppay/PayActivity;
.super Lcom/unionpay/mobile/android/plugin/BaseActivity;
# static fields
.field public static a:Ljava/lang/String; = ""
# instance fields
.field private d:Lcom/unionpay/mobile/android/pro/pboc/engine/b;
.field private e:Lcom/unionpay/mobile/android/hce/f;
.field private f:Lcom/unionpay/mobile/android/utils/n;
.field private g:Lcom/unionpay/mobile/android/pro/views/k;
# direct methods
.method static constructor <clinit>()V
.locals 1
const-string v0, "entryexpro"
invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V
return-void
.end method
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Lcom/unionpay/mobile/android/plugin/BaseActivity;-><init>()V
const/4 v0, 0x0
iput-object v0, p0, Lcom/unionpay/uppay/PayActivity;->d:Lcom/unionpay/mobile/android/pro/pboc/engine/b;
iput-object v0, p0, Lcom/unionpay/uppay/PayActivity;->e:Lcom/unionpay/mobile/android/hce/f;
iput-object v0, p0, Lcom/unionpay/uppay/PayActivity;->g:Lcom/unionpay/mobile/android/pro/views/k;
return-void
.end method
# virtual methods
.method public final a(ILcom/unionpay/mobile/android/model/e;)Lcom/unionpay/mobile/android/nocard/views/b;
.locals 1
const/4 v0, 0x0
sparse-switch p1, :sswitch_data_0
return-object v0
:sswitch_0
const-class p1, Lcom/unionpay/mobile/android/nocard/utils/UPPayEngine;
invoke-virtual {p1}, Ljava/lang/Class;->toString()Ljava/lang/String;
move-result-object p1
invoke-virtual {p0, p1}, Lcom/unionpay/uppay/PayActivity;->a(Ljava/lang/String;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/unionpay/mobile/android/nocard/utils/UPPayEngine;
new-instance v0, Lcom/unionpay/mobile/android/pro/views/a;
invoke-direct {v0, p0, p2, p1}, Lcom/unionpay/mobile/android/pro/views/a;-><init>(Landroid/content/Context;Lcom/unionpay/mobile/android/model/e;Lcom/unionpay/mobile/android/nocard/utils/UPPayEngine;)V
return-object v0
:sswitch_1
const-class p1, Lcom/unionpay/mobile/android/nocard/utils/UPPayEngine;
invoke-virtual {p1}, Ljava/lang/Class;->toString()Ljava/lang/String;
move-result-object p1
invoke-virtual {p0, p1}, Lcom/unionpay/uppay/PayActivity;->a(Ljava/lang/String;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/unionpay/mobile/android/nocard/utils/UPPayEngine;
new-instance v0, Lcom/unionpay/mobile/android/pro/views/k;
invoke-direct {v0, p0, p2, p1}, Lcom/unionpay/mobile/android/pro/views/k;-><init>(Landroid/content/Context;Lcom/unionpay/mobile/android/model/e;Lcom/unionpay/mobile/android/nocard/utils/UPPayEngine;)V
iput-object v0, p0, Lcom/unionpay/uppay/PayActivity;->g:Lcom/unionpay/mobile/android/pro/views/k;
iget-object p1, p0, Lcom/unionpay/uppay/PayActivity;->g:Lcom/unionpay/mobile/android/pro/views/k;
invoke-virtual {p0}, Lcom/unionpay/uppay/PayActivity;->c()Ljava/lang/String;
move-result-object p2
iput-object p2, p1, Lcom/unionpay/mobile/android/pro/views/k;->r:Ljava/lang/String;
iget-object p1, p0, Lcom/unionpay/uppay/PayActivity;->g:Lcom/unionpay/mobile/android/pro/views/k;
iget-object p0, p0, Lcom/unionpay/uppay/PayActivity;->c:Landroid/nfc/NfcAdapter;
invoke-virtual {p1, p0}, Lcom/unionpay/mobile/android/pro/views/k;->a(Landroid/nfc/NfcAdapter;)V
return-object v0
:sswitch_2
new-instance v0, Lcom/unionpay/mobile/android/pro/views/x;
invoke-direct {v0, p0, p2}, Lcom/unionpay/mobile/android/pro/views/x;-><init>(Landroid/content/Context;Lcom/unionpay/mobile/android/model/e;)V
return-object v0
:sswitch_3
new-instance v0, Lcom/unionpay/mobile/android/pro/views/v;
invoke-direct {v0, p0, p2}, Lcom/unionpay/mobile/android/pro/views/v;-><init>(Landroid/content/Context;Lcom/unionpay/mobile/android/model/e;)V
return-object v0
:sswitch_4
new-instance v0, Lcom/unionpay/mobile/android/pro/views/j;
invoke-direct {v0, p0}, Lcom/unionpay/mobile/android/pro/views/j;-><init>(Landroid/content/Context;)V
move-object p1, v0
check-cast p1, Lcom/unionpay/mobile/android/nocard/views/l;
invoke-virtual {p0}, Lcom/unionpay/uppay/PayActivity;->a()Z
move-result p0
invoke-virtual {p1, p0}, Lcom/unionpay/mobile/android/nocard/views/l;->a(Z)V
return-object v0
:sswitch_data_0
.sparse-switch
0x1 -> :sswitch_4
0x2 -> :sswitch_3
0x6 -> :sswitch_2
0x11 -> :sswitch_1
0x12 -> :sswitch_0
.end sparse-switch
.end method
.method public final a(Ljava/lang/String;)Ljava/lang/Object;
.locals 1
const-class v0, Lcom/unionpay/mobile/android/pro/pboc/engine/b;
invoke-virtual {v0}, Ljava/lang/Class;->toString()Ljava/lang/String;
move-result-object v0
invoke-virtual {v0, p1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
move-result v0
if-eqz v0, :cond_1
iget-object p1, p0, Lcom/unionpay/uppay/PayActivity;->d:Lcom/unionpay/mobile/android/pro/pboc/engine/b;
if-nez p1, :cond_0
new-instance p1, Lcom/unionpay/mobile/android/pro/pboc/engine/b;
invoke-virtual {p0}, Lcom/unionpay/uppay/PayActivity;->c()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, p0, v0}, Lcom/unionpay/mobile/android/pro/pboc/engine/b;-><init>(Landroid/content/Context;Ljava/lang/String;)V
iput-object p1, p0, Lcom/unionpay/uppay/PayActivity;->d:Lcom/unionpay/mobile/android/pro/pboc/engine/b;
:cond_0
iget-object p0, p0, Lcom/unionpay/uppay/PayActivity;->d:Lcom/unionpay/mobile/android/pro/pboc/engine/b;
return-object p0
:cond_1
const-class v0, Lcom/unionpay/mobile/android/hce/f;
invoke-virtual {v0}, Ljava/lang/Class;->toString()Ljava/lang/String;
move-result-object v0
invoke-virtual {v0, p1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
move-result v0
if-eqz v0, :cond_3
iget-object p1, p0, Lcom/unionpay/uppay/PayActivity;->e:Lcom/unionpay/mobile/android/hce/f;
if-nez p1, :cond_2
new-instance p1, Lcom/unionpay/mobile/android/hce/f;
invoke-direct {p1, p0}, Lcom/unionpay/mobile/android/hce/f;-><init>(Landroid/content/Context;)V
iput-object p1, p0, Lcom/unionpay/uppay/PayActivity;->e:Lcom/unionpay/mobile/android/hce/f;
:cond_2
iget-object p0, p0, Lcom/unionpay/uppay/PayActivity;->e:Lcom/unionpay/mobile/android/hce/f;
return-object p0
:cond_3
invoke-super {p0, p1}, Lcom/unionpay/mobile/android/plugin/BaseActivity;->a(Ljava/lang/String;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public final a()Z
.locals 5
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/4 v1, 0x1
const/4 v2, 0x0
const/16 v3, 0xa
if-ge v0, v3, :cond_0
goto :goto_1
:cond_0
invoke-virtual {p0}, Lcom/unionpay/uppay/PayActivity;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object v0
const-string v3, "android.permission.NFC"
invoke-static {p0}, Lcom/unionpay/mobile/android/utils/f;->b(Landroid/content/Context;)Ljava/lang/String;
move-result-object v4
invoke-virtual {v0, v3, v4}, Landroid/content/pm/PackageManager;->checkPermission(Ljava/lang/String;Ljava/lang/String;)I
move-result v0
if-nez v0, :cond_1
move v0, v1
goto :goto_0
:cond_1
move v0, v2
:goto_0
if-nez v0, :cond_2
goto :goto_1
:cond_2
const-string v0, "nfc"
invoke-virtual {p0, v0}, Lcom/unionpay/uppay/PayActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Landroid/nfc/NfcManager;
invoke-virtual {p0}, Landroid/nfc/NfcManager;->getDefaultAdapter()Landroid/nfc/NfcAdapter;
move-result-object p0
if-eqz p0, :cond_3
return v1
:cond_3
:goto_1
move v1, v2
return v1
.end method
.method public final d()Lcom/unionpay/mobile/android/nocard/utils/UPPayEngine;
.locals 1
new-instance v0, Lcom/unionpay/mobile/android/utils/n;
invoke-direct {v0, p0}, Lcom/unionpay/mobile/android/utils/n;-><init>(Landroid/content/Context;)V
iput-object v0, p0, Lcom/unionpay/uppay/PayActivity;->f:Lcom/unionpay/mobile/android/utils/n;
iget-object p0, p0, Lcom/unionpay/uppay/PayActivity;->f:Lcom/unionpay/mobile/android/utils/n;
return-object p0
.end method
.method protected final onActivityResult(IILandroid/content/Intent;)V
.locals 0
invoke-super {p0, p1, p2, p3}, Lcom/unionpay/mobile/android/plugin/BaseActivity;->onActivityResult(IILandroid/content/Intent;)V
iget-object p1, p0, Lcom/unionpay/uppay/PayActivity;->g:Lcom/unionpay/mobile/android/pro/views/k;
if-eqz p1, :cond_0
iget-object p1, p0, Lcom/unionpay/uppay/PayActivity;->g:Lcom/unionpay/mobile/android/pro/views/k;
invoke-virtual {p1}, Lcom/unionpay/mobile/android/pro/views/k;->getParent()Landroid/view/ViewParent;
move-result-object p1
if-eqz p1, :cond_0
iget-object p1, p0, Lcom/unionpay/uppay/PayActivity;->g:Lcom/unionpay/mobile/android/pro/views/k;
iget-object p0, p0, Lcom/unionpay/uppay/PayActivity;->c:Landroid/nfc/NfcAdapter;
invoke-virtual {p1, p0}, Lcom/unionpay/mobile/android/pro/views/k;->a(Landroid/nfc/NfcAdapter;)V
:cond_0
return-void
.end method
.method public final onCreate(Landroid/os/Bundle;)V
.locals 0
invoke-super {p0, p1}, Lcom/unionpay/mobile/android/plugin/BaseActivity;->onCreate(Landroid/os/Bundle;)V
return-void
.end method
.method protected final onDestroy()V
.locals 2
invoke-super {p0}, Lcom/unionpay/mobile/android/plugin/BaseActivity;->onDestroy()V
iget-object v0, p0, Lcom/unionpay/uppay/PayActivity;->d:Lcom/unionpay/mobile/android/pro/pboc/engine/b;
const/4 v1, 0x0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/unionpay/uppay/PayActivity;->d:Lcom/unionpay/mobile/android/pro/pboc/engine/b;
invoke-virtual {v0}, Lcom/unionpay/mobile/android/pro/pboc/engine/b;->a()V
iput-object v1, p0, Lcom/unionpay/uppay/PayActivity;->d:Lcom/unionpay/mobile/android/pro/pboc/engine/b;
:cond_0
iget-object v0, p0, Lcom/unionpay/uppay/PayActivity;->f:Lcom/unionpay/mobile/android/utils/n;
invoke-virtual {v0}, Lcom/unionpay/mobile/android/utils/n;->h()V
iput-object v1, p0, Lcom/unionpay/uppay/PayActivity;->f:Lcom/unionpay/mobile/android/utils/n;
iput-object v1, p0, Lcom/unionpay/uppay/PayActivity;->g:Lcom/unionpay/mobile/android/pro/views/k;
const-string p0, ""
sput-object p0, Lcom/unionpay/uppay/PayActivity;->a:Ljava/lang/String;
return-void
.end method
.method protected final onNewIntent(Landroid/content/Intent;)V
.locals 2
invoke-super {p0, p1}, Lcom/unionpay/mobile/android/plugin/BaseActivity;->onNewIntent(Landroid/content/Intent;)V
const-string v0, "android.nfc.extra.TAG"
invoke-virtual {p1, v0}, Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;
move-result-object v0
if-eqz v0, :cond_0
const-string v1, "NFCTAG"
invoke-virtual {p1}, Landroid/content/Intent;->getAction()Ljava/lang/String;
move-result-object p1
invoke-static {v1, p1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
new-instance p1, Lcom/unionpay/mobile/android/pboctransaction/nfc/b$b;
check-cast v0, Landroid/nfc/Tag;
invoke-static {v0}, Landroid/nfc/tech/IsoDep;->get(Landroid/nfc/Tag;)Landroid/nfc/tech/IsoDep;
move-result-object v0
invoke-direct {p1, v0}, Lcom/unionpay/mobile/android/pboctransaction/nfc/b$b;-><init>(Landroid/nfc/tech/IsoDep;)V
invoke-virtual {p1}, Lcom/unionpay/mobile/android/pboctransaction/nfc/b$b;->a()V
const-class v0, Lcom/unionpay/mobile/android/nocard/utils/UPPayEngine;
invoke-virtual {v0}, Ljava/lang/Class;->toString()Ljava/lang/String;
move-result-object v0
invoke-virtual {p0, v0}, Lcom/unionpay/uppay/PayActivity;->a(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/unionpay/mobile/android/fully/a;
new-instance v1, Lcom/unionpay/mobile/android/pboctransaction/nfc/a;
invoke-direct {v1, v0, p1}, Lcom/unionpay/mobile/android/pboctransaction/nfc/a;-><init>(Lcom/unionpay/mobile/android/fully/a;Lcom/unionpay/mobile/android/pboctransaction/nfc/b$b;)V
iget-object p1, p0, Lcom/unionpay/uppay/PayActivity;->g:Lcom/unionpay/mobile/android/pro/views/k;
if-eqz p1, :cond_0
iget-object p1, p0, Lcom/unionpay/uppay/PayActivity;->g:Lcom/unionpay/mobile/android/pro/views/k;
invoke-virtual {p1}, Lcom/unionpay/mobile/android/pro/views/k;->getParent()Landroid/view/ViewParent;
move-result-object p1
if-eqz p1, :cond_0
iget-object p0, p0, Lcom/unionpay/uppay/PayActivity;->g:Lcom/unionpay/mobile/android/pro/views/k;
invoke-virtual {p0, v1}, Lcom/unionpay/mobile/android/pro/views/k;->a(Lcom/unionpay/mobile/android/pboctransaction/nfc/a;)V
:cond_0
return-void
.end method
.method protected final onResume()V
.locals 1
invoke-super {p0}, Lcom/unionpay/mobile/android/plugin/BaseActivity;->onResume()V
iget-object v0, p0, Lcom/unionpay/uppay/PayActivity;->g:Lcom/unionpay/mobile/android/pro/views/k;
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/unionpay/uppay/PayActivity;->g:Lcom/unionpay/mobile/android/pro/views/k;
invoke-virtual {v0}, Lcom/unionpay/mobile/android/pro/views/k;->getParent()Landroid/view/ViewParent;
move-result-object v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/unionpay/uppay/PayActivity;->g:Lcom/unionpay/mobile/android/pro/views/k;
iget-object p0, p0, Lcom/unionpay/uppay/PayActivity;->c:Landroid/nfc/NfcAdapter;
invoke-virtual {v0, p0}, Lcom/unionpay/mobile/android/pro/views/k;->a(Landroid/nfc/NfcAdapter;)V
:cond_0
return-void
.end method
.class public Lcom/unionpay/UPPayWapActivity;
.super Landroid/app/Activity;
# instance fields
.field a:Landroid/widget/LinearLayout;
.field private b:Landroid/webkit/WebView;
.field private c:Lcom/unionpay/WebViewJavascriptBridge;
.field private d:Landroid/app/AlertDialog;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Landroid/app/Activity;-><init>()V
return-void
.end method
.method static synthetic a(Lcom/unionpay/UPPayWapActivity;)Landroid/app/AlertDialog;
.locals 0
iget-object p0, p0, Lcom/unionpay/UPPayWapActivity;->d:Landroid/app/AlertDialog;
return-object p0
.end method
.method static synthetic a(Lcom/unionpay/UPPayWapActivity;Landroid/app/AlertDialog;)Landroid/app/AlertDialog;
.locals 0
iput-object p1, p0, Lcom/unionpay/UPPayWapActivity;->d:Landroid/app/AlertDialog;
return-object p1
.end method
.method static synthetic a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
.locals 0
invoke-static {p0, p1, p2}, Lcom/unionpay/UPPayWapActivity;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method static synthetic a(Lcom/unionpay/UPPayWapActivity;Ljava/lang/String;Ljava/lang/String;)V
.locals 2
new-instance v0, Landroid/content/Intent;
invoke-direct {v0}, Landroid/content/Intent;-><init>()V
const-string v1, "pay_result"
invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
const-string p1, "result_data"
invoke-virtual {v0, p1, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
const/4 p1, -0x1
invoke-virtual {p0, p1, v0}, Lcom/unionpay/UPPayWapActivity;->setResult(ILandroid/content/Intent;)V
invoke-virtual {p0}, Lcom/unionpay/UPPayWapActivity;->finish()V
return-void
.end method
.method static synthetic a(Lcom/unionpay/UPPayWapActivity;Z)V
.locals 2
iget-object p0, p0, Lcom/unionpay/UPPayWapActivity;->a:Landroid/widget/LinearLayout;
const/16 v0, 0x8
const/4 v1, 0x0
if-eqz p1, :cond_0
move v0, v1
:cond_0
invoke-virtual {p0, v0}, Landroid/widget/LinearLayout;->setVisibility(I)V
return-void
.end method
.method private static b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
.locals 2
:try_start_0
new-instance v0, Lorg/json/JSONObject;
const-string v1, "{\"code\":\"0\",\"msg\":\"success\"}"
invoke-direct {v0, v1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
if-eqz p0, :cond_0
const-string v1, "code"
invoke-virtual {v0, v1, p0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:cond_0
if-eqz p1, :cond_1
const-string p0, "msg"
invoke-virtual {v0, p0, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:cond_1
if-eqz p2, :cond_2
const-string p0, "value"
invoke-virtual {v0, p0, p2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:cond_2
invoke-virtual {v0}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
:catch_0
move-exception p0
:try_end_0
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
invoke-static {p0}, Lcom/google/devtools/build/android/desugar/runtime/ThrowableExtension;->printStackTrace(Ljava/lang/Throwable;)V
const-string p0, ""
return-object p0
.end method
# virtual methods
.method public onCreate(Landroid/os/Bundle;)V
.locals 12
invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V
:try_start_0
invoke-virtual {p0}, Lcom/unionpay/UPPayWapActivity;->getIntent()Landroid/content/Intent;
move-result-object p1
const-string v0, "magic_data"
invoke-virtual {p1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
const-string v0, "949A1CC"
invoke-virtual {v0, p1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
move-result p1
if-nez p1, :cond_0
invoke-virtual {p0}, Lcom/unionpay/UPPayWapActivity;->finish()V
:cond_0
invoke-virtual {p0}, Lcom/unionpay/UPPayWapActivity;->getIntent()Landroid/content/Intent;
move-result-object p1
const-string v0, "waptype"
invoke-virtual {p1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
const-string v0, ""
const-string v1, ""
if-eqz p1, :cond_3
const-string v2, "new_page"
invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_3
invoke-virtual {p0}, Lcom/unionpay/UPPayWapActivity;->getIntent()Landroid/content/Intent;
move-result-object p1
const-string v2, "wapurl"
invoke-virtual {p1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
invoke-virtual {p0}, Lcom/unionpay/UPPayWapActivity;->getIntent()Landroid/content/Intent;
move-result-object v2
const-string v3, "waptitle"
invoke-virtual {v2, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
if-eqz p1, :cond_1
goto :goto_0
:cond_1
move-object p1, v0
:goto_0
if-eqz v2, :cond_2
move-object v1, v2
:cond_2
new-instance v0, Lcom/unionpay/j;
invoke-direct {v0, p0}, Lcom/unionpay/j;-><init>(Lcom/unionpay/UPPayWapActivity;)V
goto :goto_1
:cond_3
invoke-virtual {p0}, Lcom/unionpay/UPPayWapActivity;->getIntent()Landroid/content/Intent;
move-result-object p1
const-string v1, "wapurl"
invoke-virtual {p1, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
invoke-virtual {p0}, Lcom/unionpay/UPPayWapActivity;->getIntent()Landroid/content/Intent;
move-result-object v1
const-string v2, "paydata"
invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
if-eqz v1, :cond_4
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p1, "?s="
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
:cond_4
move-object p1, v0
invoke-static {}, Lcom/unionpay/utils/k;->a()Lcom/unionpay/utils/k;
move-result-object v0
iget-object v1, v0, Lcom/unionpay/utils/k;->e:Ljava/lang/String;
new-instance v0, Lcom/unionpay/n;
invoke-direct {v0, p0}, Lcom/unionpay/n;-><init>(Lcom/unionpay/UPPayWapActivity;)V
:goto_1
invoke-virtual {p0}, Lcom/unionpay/UPPayWapActivity;->getWindow()Landroid/view/Window;
move-result-object v2
const/4 v3, 0x1
invoke-virtual {v2, v3}, Landroid/view/Window;->requestFeature(I)Z
new-instance v2, Landroid/widget/LinearLayout;
invoke-direct {v2, p0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V
invoke-virtual {v2, v3}, Landroid/widget/LinearLayout;->setOrientation(I)V
new-instance v4, Landroid/widget/RelativeLayout$LayoutParams;
const/4 v5, -0x2
const/4 v6, -0x1
invoke-direct {v4, v6, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V
new-instance v7, Landroid/widget/RelativeLayout;
invoke-direct {v7, p0}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V
invoke-virtual {v7, v4}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
const/high16 v4, 0x41200000 # 10.0f
invoke-static {p0, v4}, Lcom/unionpay/utils/f;->a(Landroid/content/Context;F)I
move-result v4
const/high16 v8, 0x42500000 # 52.0f
invoke-static {p0, v8}, Lcom/unionpay/utils/f;->a(Landroid/content/Context;F)I
move-result v8
new-instance v9, Landroid/widget/RelativeLayout$LayoutParams;
invoke-direct {v9, v6, v8}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V
invoke-virtual {v7, v9}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
const v9, -0xa35c26
invoke-virtual {v7, v9}, Landroid/widget/RelativeLayout;->setBackgroundColor(I)V
new-instance v9, Landroid/widget/LinearLayout;
invoke-direct {v9, p0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V
iput-object v9, p0, Lcom/unionpay/UPPayWapActivity;->a:Landroid/widget/LinearLayout;
iget-object v9, p0, Lcom/unionpay/UPPayWapActivity;->a:Landroid/widget/LinearLayout;
invoke-virtual {v9, v4, v4, v4, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V
iget-object v9, p0, Lcom/unionpay/UPPayWapActivity;->a:Landroid/widget/LinearLayout;
const/16 v10, 0x10
invoke-virtual {v9, v10}, Landroid/widget/LinearLayout;->setGravity(I)V
new-instance v9, Landroid/widget/RelativeLayout$LayoutParams;
invoke-direct {v9, v5, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V
const/16 v5, 0x9
invoke-virtual {v9, v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V
const/16 v5, 0xf
invoke-virtual {v9, v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V
iput v4, v9, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I
iget-object v4, p0, Lcom/unionpay/UPPayWapActivity;->a:Landroid/widget/LinearLayout;
invoke-virtual {v4, v0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V
iget-object v0, p0, Lcom/unionpay/UPPayWapActivity;->a:Landroid/widget/LinearLayout;
invoke-virtual {v7, v0, v9}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
const/high16 v0, 0x41a00000 # 20.0f
invoke-static {p0, v0}, Lcom/unionpay/utils/f;->a(Landroid/content/Context;F)I
move-result v4
const/high16 v9, 0x41300000 # 11.0f
invoke-static {p0, v9}, Lcom/unionpay/utils/f;->a(Landroid/content/Context;F)I
move-result v9
new-instance v10, Landroid/widget/ImageView;
invoke-direct {v10, p0}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V
sget v11, Lcom/unionpay/utils/h;->a:I
invoke-static {v11}, Lcom/unionpay/utils/g;->a(I)Landroid/graphics/drawable/Drawable;
move-result-object v11
invoke-virtual {v10, v11}, Landroid/widget/ImageView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
new-instance v11, Landroid/widget/RelativeLayout$LayoutParams;
invoke-direct {v11, v9, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V
invoke-virtual {v11, v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V
iget-object v4, p0, Lcom/unionpay/UPPayWapActivity;->a:Landroid/widget/LinearLayout;
invoke-virtual {v4, v10, v11}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
new-instance v4, Landroid/widget/RelativeLayout$LayoutParams;
const/high16 v5, 0x43a00000 # 320.0f
invoke-static {p0, v5}, Lcom/unionpay/utils/f;->a(Landroid/content/Context;F)I
move-result v5
invoke-direct {v4, v5, v8}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V
const/16 v5, 0xd
invoke-virtual {v4, v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V
new-instance v5, Landroid/widget/TextView;
invoke-direct {v5, p0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V
invoke-virtual {v5, v0}, Landroid/widget/TextView;->setTextSize(F)V
invoke-virtual {v5, v6}, Landroid/widget/TextView;->setTextColor(I)V
invoke-virtual {v5, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
const/16 v0, 0x11
invoke-virtual {v5, v0}, Landroid/widget/TextView;->setGravity(I)V
invoke-virtual {v5, v3}, Landroid/widget/TextView;->setSingleLine(Z)V
sget-object v0, Landroid/text/TextUtils$TruncateAt;->END:Landroid/text/TextUtils$TruncateAt;
invoke-virtual {v5, v0}, Landroid/widget/TextView;->setEllipsize(Landroid/text/TextUtils$TruncateAt;)V
invoke-virtual {v7, v5, v4}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
invoke-virtual {v2, v7}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V
new-instance v0, Landroid/webkit/WebView;
invoke-direct {v0, p0}, Landroid/webkit/WebView;-><init>(Landroid/content/Context;)V
iput-object v0, p0, Lcom/unionpay/UPPayWapActivity;->b:Landroid/webkit/WebView;
iget-object v0, p0, Lcom/unionpay/UPPayWapActivity;->b:Landroid/webkit/WebView;
new-instance v1, Landroid/widget/RelativeLayout$LayoutParams;
invoke-direct {v1, v6, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V
invoke-virtual {v0, v1}, Landroid/webkit/WebView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
iget-object v0, p0, Lcom/unionpay/UPPayWapActivity;->b:Landroid/webkit/WebView;
invoke-virtual {v2, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V
invoke-virtual {p0, v2}, Lcom/unionpay/UPPayWapActivity;->setContentView(Landroid/view/View;)V
new-instance v0, Lcom/unionpay/WebViewJavascriptBridge;
iget-object v1, p0, Lcom/unionpay/UPPayWapActivity;->b:Landroid/webkit/WebView;
const/4 v2, 0x0
invoke-direct {v0, p0, v1, v2}, Lcom/unionpay/WebViewJavascriptBridge;-><init>(Landroid/app/Activity;Landroid/webkit/WebView;Lcom/unionpay/ac;)V
iput-object v0, p0, Lcom/unionpay/UPPayWapActivity;->c:Lcom/unionpay/WebViewJavascriptBridge;
iget-object v0, p0, Lcom/unionpay/UPPayWapActivity;->b:Landroid/webkit/WebView;
invoke-virtual {v0, p1}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V
iget-object p1, p0, Lcom/unionpay/UPPayWapActivity;->c:Lcom/unionpay/WebViewJavascriptBridge;
const-string v0, "getDeviceInfo"
new-instance v1, Lcom/unionpay/q;
invoke-direct {v1, p0}, Lcom/unionpay/q;-><init>(Lcom/unionpay/UPPayWapActivity;)V
invoke-virtual {p1, v0, v1}, Lcom/unionpay/WebViewJavascriptBridge;->registerHandler(Ljava/lang/String;Lcom/unionpay/ac;)V
iget-object p1, p0, Lcom/unionpay/UPPayWapActivity;->c:Lcom/unionpay/WebViewJavascriptBridge;
const-string v0, "saveData"
new-instance v1, Lcom/unionpay/r;
invoke-direct {v1, p0}, Lcom/unionpay/r;-><init>(Lcom/unionpay/UPPayWapActivity;)V
invoke-virtual {p1, v0, v1}, Lcom/unionpay/WebViewJavascriptBridge;->registerHandler(Ljava/lang/String;Lcom/unionpay/ac;)V
iget-object p1, p0, Lcom/unionpay/UPPayWapActivity;->c:Lcom/unionpay/WebViewJavascriptBridge;
const-string v0, "getData"
new-instance v1, Lcom/unionpay/s;
invoke-direct {v1, p0}, Lcom/unionpay/s;-><init>(Lcom/unionpay/UPPayWapActivity;)V
invoke-virtual {p1, v0, v1}, Lcom/unionpay/WebViewJavascriptBridge;->registerHandler(Ljava/lang/String;Lcom/unionpay/ac;)V
iget-object p1, p0, Lcom/unionpay/UPPayWapActivity;->c:Lcom/unionpay/WebViewJavascriptBridge;
const-string v0, "removeData"
new-instance v1, Lcom/unionpay/t;
invoke-direct {v1, p0}, Lcom/unionpay/t;-><init>(Lcom/unionpay/UPPayWapActivity;)V
invoke-virtual {p1, v0, v1}, Lcom/unionpay/WebViewJavascriptBridge;->registerHandler(Ljava/lang/String;Lcom/unionpay/ac;)V
iget-object p1, p0, Lcom/unionpay/UPPayWapActivity;->c:Lcom/unionpay/WebViewJavascriptBridge;
const-string v0, "setPageBackEnable"
new-instance v1, Lcom/unionpay/u;
invoke-direct {v1, p0}, Lcom/unionpay/u;-><init>(Lcom/unionpay/UPPayWapActivity;)V
invoke-virtual {p1, v0, v1}, Lcom/unionpay/WebViewJavascriptBridge;->registerHandler(Ljava/lang/String;Lcom/unionpay/ac;)V
iget-object p1, p0, Lcom/unionpay/UPPayWapActivity;->c:Lcom/unionpay/WebViewJavascriptBridge;
const-string v0, "payBySDK"
new-instance v1, Lcom/unionpay/v;
invoke-direct {v1, p0}, Lcom/unionpay/v;-><init>(Lcom/unionpay/UPPayWapActivity;)V
invoke-virtual {p1, v0, v1}, Lcom/unionpay/WebViewJavascriptBridge;->registerHandler(Ljava/lang/String;Lcom/unionpay/ac;)V
iget-object p1, p0, Lcom/unionpay/UPPayWapActivity;->c:Lcom/unionpay/WebViewJavascriptBridge;
const-string v0, "downloadApp"
new-instance v1, Lcom/unionpay/w;
invoke-direct {v1, p0}, Lcom/unionpay/w;-><init>(Lcom/unionpay/UPPayWapActivity;)V
invoke-virtual {p1, v0, v1}, Lcom/unionpay/WebViewJavascriptBridge;->registerHandler(Ljava/lang/String;Lcom/unionpay/ac;)V
iget-object p1, p0, Lcom/unionpay/UPPayWapActivity;->c:Lcom/unionpay/WebViewJavascriptBridge;
const-string v0, "payResult"
new-instance v1, Lcom/unionpay/k;
invoke-direct {v1, p0}, Lcom/unionpay/k;-><init>(Lcom/unionpay/UPPayWapActivity;)V
invoke-virtual {p1, v0, v1}, Lcom/unionpay/WebViewJavascriptBridge;->registerHandler(Ljava/lang/String;Lcom/unionpay/ac;)V
iget-object p1, p0, Lcom/unionpay/UPPayWapActivity;->c:Lcom/unionpay/WebViewJavascriptBridge;
const-string v0, "closePage"
new-instance v1, Lcom/unionpay/l;
invoke-direct {v1, p0}, Lcom/unionpay/l;-><init>(Lcom/unionpay/UPPayWapActivity;)V
invoke-virtual {p1, v0, v1}, Lcom/unionpay/WebViewJavascriptBridge;->registerHandler(Ljava/lang/String;Lcom/unionpay/ac;)V
iget-object p1, p0, Lcom/unionpay/UPPayWapActivity;->c:Lcom/unionpay/WebViewJavascriptBridge;
const-string v0, "openNewPage"
new-instance v1, Lcom/unionpay/m;
invoke-direct {v1, p0}, Lcom/unionpay/m;-><init>(Lcom/unionpay/UPPayWapActivity;)V
invoke-virtual {p1, v0, v1}, Lcom/unionpay/WebViewJavascriptBridge;->registerHandler(Ljava/lang/String;Lcom/unionpay/ac;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return-void
:catch_0
:try_start_1
invoke-virtual {p0}, Lcom/unionpay/UPPayWapActivity;->finish()V
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
:catch_1
return-void
.end method
.method public onKeyDown(ILandroid/view/KeyEvent;)Z
.locals 2
const/4 v0, 0x1
const/4 v1, 0x4
if-ne p1, v1, :cond_0
invoke-virtual {p0}, Lcom/unionpay/UPPayWapActivity;->onPause()V
return v0
:cond_0
invoke-super {p0, p1, p2}, Landroid/app/Activity;->onKeyDown(ILandroid/view/KeyEvent;)Z
move-result v0
return v0
.end method
.class public Lcom/alipay/sdk/app/H5PayActivity;
.super Landroid/app/Activity;
.source "SourceFile"
# instance fields
.field private a:Landroid/webkit/WebView;
.field private b:Landroid/webkit/WebViewClient;
# direct methods
.method public constructor <init>()V
.locals 0
.line 17
invoke-direct {p0}, Landroid/app/Activity;-><init>()V
return-void
.end method
# virtual methods
.method public a()V
.locals 1
.line 71
sget-object p0, Lcom/alipay/sdk/app/PayTask;->a:Ljava/lang/Object;
.line 72
monitor-enter p0
.line 74
:try_start_0
invoke-virtual {p0}, Ljava/lang/Object;->notify()V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
goto :goto_1
.line 77
:catch_0
:goto_0
:try_start_1
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
return-void
:goto_1
monitor-exit p0
throw v0
.end method
.method public finish()V
.locals 0
.line 66
invoke-virtual {p0}, Lcom/alipay/sdk/app/H5PayActivity;->a()V
.line 67
invoke-super {p0}, Landroid/app/Activity;->finish()V
return-void
.end method
.method public onBackPressed()V
.locals 3
.line 50
iget-object v0, p0, Lcom/alipay/sdk/app/H5PayActivity;->a:Landroid/webkit/WebView;
invoke-virtual {v0}, Landroid/webkit/WebView;->canGoBack()Z
move-result v0
if-eqz v0, :cond_0
.line 51
iget-object v0, p0, Lcom/alipay/sdk/app/H5PayActivity;->b:Landroid/webkit/WebViewClient;
check-cast v0, Lcom/alipay/sdk/app/b;
iget-boolean v0, v0, Lcom/alipay/sdk/app/b;->a:Z
if-eqz v0, :cond_1
.line 52
sget-object v0, Lcom/alipay/sdk/app/i;->d:Lcom/alipay/sdk/app/i;
iget v0, v0, Lcom/alipay/sdk/app/i;->h:I
invoke-static {v0}, Lcom/alipay/sdk/app/i;->a(I)Lcom/alipay/sdk/app/i;
move-result-object v0
.line 54
iget v1, v0, Lcom/alipay/sdk/app/i;->h:I
iget-object v0, v0, Lcom/alipay/sdk/app/i;->i:Ljava/lang/String;
const-string v2, ""
invoke-static {v1, v0, v2}, Lcom/alipay/sdk/app/h;->a(ILjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
sput-object v0, Lcom/alipay/sdk/app/h;->a:Ljava/lang/String;
.line 55
invoke-virtual {p0}, Lcom/alipay/sdk/app/H5PayActivity;->finish()V
return-void
.line 60
:cond_0
invoke-static {}, Lcom/alipay/sdk/app/h;->a()Ljava/lang/String;
move-result-object v0
sput-object v0, Lcom/alipay/sdk/app/h;->a:Ljava/lang/String;
.line 61
invoke-virtual {p0}, Lcom/alipay/sdk/app/H5PayActivity;->finish()V
:cond_1
return-void
.end method
.method public onConfigurationChanged(Landroid/content/res/Configuration;)V
.locals 0
.line 82
invoke-super {p0, p1}, Landroid/app/Activity;->onConfigurationChanged(Landroid/content/res/Configuration;)V
return-void
.end method
.method protected onCreate(Landroid/os/Bundle;)V
.locals 2
.line 25
invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V
.line 26
:try_start_0
invoke-virtual {p0}, Lcom/alipay/sdk/app/H5PayActivity;->getIntent()Landroid/content/Intent;
move-result-object p1
invoke-virtual {p1}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;
move-result-object p1
.line 31
const-string v0, "url"
invoke-virtual {p1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
.line 32
invoke-static {v0}, Lcom/alipay/sdk/util/l;->b(Ljava/lang/String;)Z
move-result v1
if-nez v1, :cond_0
.line 34
invoke-virtual {p0}, Lcom/alipay/sdk/app/H5PayActivity;->finish()V
return-void
.line 37
:cond_0
const-string v1, "cookie"
invoke-virtual {p1, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
.line 42
const/4 v1, 0x1
invoke-super {p0, v1}, Landroid/app/Activity;->requestWindowFeature(I)Z
.line 43
invoke-static {p0, v0, p1}, Lcom/alipay/sdk/util/l;->a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;)Landroid/webkit/WebView;
move-result-object p1
iput-object p1, p0, Lcom/alipay/sdk/app/H5PayActivity;->a:Landroid/webkit/WebView;
.line 44
new-instance p1, Lcom/alipay/sdk/app/b;
invoke-direct {p1, p0}, Lcom/alipay/sdk/app/b;-><init>(Landroid/app/Activity;)V
iput-object p1, p0, Lcom/alipay/sdk/app/H5PayActivity;->b:Landroid/webkit/WebViewClient;
.line 45
iget-object p1, p0, Lcom/alipay/sdk/app/H5PayActivity;->a:Landroid/webkit/WebView;
iget-object p0, p0, Lcom/alipay/sdk/app/H5PayActivity;->b:Landroid/webkit/WebViewClient;
invoke-virtual {p1, p0}, Landroid/webkit/WebView;->setWebViewClient(Landroid/webkit/WebViewClient;)V
return-void
.line 39
:catch_0
invoke-virtual {p0}, Lcom/alipay/sdk/app/H5PayActivity;->finish()V
return-void
.end method
.method protected onDestroy()V
.locals 1
.line 87
invoke-super {p0}, Landroid/app/Activity;->onDestroy()V
.line 88
iget-object v0, p0, Lcom/alipay/sdk/app/H5PayActivity;->a:Landroid/webkit/WebView;
if-eqz v0, :cond_0
.line 89
iget-object v0, p0, Lcom/alipay/sdk/app/H5PayActivity;->a:Landroid/webkit/WebView;
invoke-virtual {v0}, Landroid/webkit/WebView;->removeAllViews()V
.line 91
:try_start_0
iget-object v0, p0, Lcom/alipay/sdk/app/H5PayActivity;->a:Landroid/webkit/WebView;
invoke-virtual {v0}, Landroid/webkit/WebView;->destroy()V
:try_end_0
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
.line 94
:catch_0
const/4 v0, 0x0
iput-object v0, p0, Lcom/alipay/sdk/app/H5PayActivity;->a:Landroid/webkit/WebView;
:cond_0
return-void
.end method
.class public Lcom/ssjjsy/sdk/SdkActivity;
.super Landroid/app/Activity;
# instance fields
.field private a:Lcom/ssjjsy/net/o;
# direct methods
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Landroid/app/Activity;-><init>()V
const/4 v0, 0x0
iput-object v0, p0, Lcom/ssjjsy/sdk/SdkActivity;->a:Lcom/ssjjsy/net/o;
return-void
.end method
# virtual methods
.method protected onActivityResult(IILandroid/content/Intent;)V
.locals 7
iget-object p0, p0, Lcom/ssjjsy/sdk/SdkActivity;->a:Lcom/ssjjsy/net/o;
const-string v0, "onActivityResult"
const/4 v1, 0x3
new-array v2, v1, [Ljava/lang/Class;
sget-object v3, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
const/4 v4, 0x0
aput-object v3, v2, v4
sget-object v3, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
const/4 v5, 0x1
aput-object v3, v2, v5
const-class v3, Landroid/content/Intent;
const/4 v6, 0x2
aput-object v3, v2, v6
new-array v1, v1, [Ljava/lang/Object;
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
aput-object p1, v1, v4
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
aput-object p1, v1, v5
aput-object p3, v1, v6
invoke-virtual {p0, v0, v2, v1}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)V
return-void
.end method
.method public onBackPressed()V
.locals 4
iget-object v0, p0, Lcom/ssjjsy/sdk/SdkActivity;->a:Lcom/ssjjsy/net/o;
const-string v1, "onBackPressed"
const/4 v2, 0x0
new-array v3, v2, [Ljava/lang/Class;
new-array v2, v2, [Ljava/lang/Object;
invoke-virtual {v0, v1, v3, v2}, Lcom/ssjjsy/net/o;->b(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Boolean;
if-eqz v0, :cond_0
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
move-result v0
if-nez v0, :cond_1
:cond_0
invoke-super {p0}, Landroid/app/Activity;->onBackPressed()V
:cond_1
return-void
.end method
.method public onConfigurationChanged(Landroid/content/res/Configuration;)V
.locals 5
invoke-super {p0, p1}, Landroid/app/Activity;->onConfigurationChanged(Landroid/content/res/Configuration;)V
iget-object p0, p0, Lcom/ssjjsy/sdk/SdkActivity;->a:Lcom/ssjjsy/net/o;
const-string v0, "onConfigurationChanged"
const/4 v1, 0x1
new-array v2, v1, [Ljava/lang/Class;
const-class v3, Landroid/content/res/Configuration;
const/4 v4, 0x0
aput-object v3, v2, v4
new-array v1, v1, [Ljava/lang/Object;
aput-object p1, v1, v4
invoke-virtual {p0, v0, v2, v1}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)V
return-void
.end method
.method protected onCreate(Landroid/os/Bundle;)V
.locals 5
invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V
new-instance v0, Landroid/view/View;
invoke-direct {v0, p0}, Landroid/view/View;-><init>(Landroid/content/Context;)V
new-instance v1, Landroid/widget/FrameLayout$LayoutParams;
const/4 v2, -0x1
invoke-direct {v1, v2, v2}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V
invoke-virtual {v0, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
new-instance v1, Lcom/ssjjsy/sdk/SdkSimpleOnTouchListener;
invoke-direct {v1, p0}, Lcom/ssjjsy/sdk/SdkSimpleOnTouchListener;-><init>(Landroid/app/Activity;)V
invoke-virtual {v0, v1}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V
invoke-virtual {p0, v0}, Lcom/ssjjsy/sdk/SdkActivity;->setContentView(Landroid/view/View;)V
invoke-virtual {p0}, Lcom/ssjjsy/sdk/SdkActivity;->getIntent()Landroid/content/Intent;
move-result-object v0
if-nez v0, :cond_0
invoke-virtual {p0}, Lcom/ssjjsy/sdk/SdkActivity;->finish()V
return-void
:cond_0
invoke-static {p0}, Lcom/ssjjsy/net/o;->a(Landroid/app/Activity;)Lcom/ssjjsy/net/o;
move-result-object v0
iput-object v0, p0, Lcom/ssjjsy/sdk/SdkActivity;->a:Lcom/ssjjsy/net/o;
iget-object p0, p0, Lcom/ssjjsy/sdk/SdkActivity;->a:Lcom/ssjjsy/net/o;
const-string v0, "onCreate"
const/4 v1, 0x1
new-array v2, v1, [Ljava/lang/Class;
const-class v3, Landroid/os/Bundle;
const/4 v4, 0x0
aput-object v3, v2, v4
new-array v1, v1, [Ljava/lang/Object;
aput-object p1, v1, v4
invoke-virtual {p0, v0, v2, v1}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)V
return-void
.end method
.method protected onDestroy()V
.locals 1
invoke-super {p0}, Landroid/app/Activity;->onDestroy()V
iget-object p0, p0, Lcom/ssjjsy/sdk/SdkActivity;->a:Lcom/ssjjsy/net/o;
const-string v0, "onDestroy"
invoke-virtual {p0, v0}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;)V
return-void
.end method
.method public onKeyDown(ILandroid/view/KeyEvent;)Z
.locals 0
invoke-super {p0, p1, p2}, Landroid/app/Activity;->onKeyDown(ILandroid/view/KeyEvent;)Z
move-result p0
return p0
.end method
.method protected onNewIntent(Landroid/content/Intent;)V
.locals 5
iget-object p0, p0, Lcom/ssjjsy/sdk/SdkActivity;->a:Lcom/ssjjsy/net/o;
const-string v0, "onNewIntent"
const/4 v1, 0x1
new-array v2, v1, [Ljava/lang/Class;
const-class v3, Landroid/content/Intent;
const/4 v4, 0x0
aput-object v3, v2, v4
new-array v1, v1, [Ljava/lang/Object;
aput-object p1, v1, v4
invoke-virtual {p0, v0, v2, v1}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)V
return-void
.end method
.method protected onPause()V
.locals 1
invoke-super {p0}, Landroid/app/Activity;->onPause()V
iget-object p0, p0, Lcom/ssjjsy/sdk/SdkActivity;->a:Lcom/ssjjsy/net/o;
const-string v0, "onPause"
invoke-virtual {p0, v0}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;)V
return-void
.end method
.method protected onRestart()V
.locals 1
invoke-super {p0}, Landroid/app/Activity;->onRestart()V
iget-object p0, p0, Lcom/ssjjsy/sdk/SdkActivity;->a:Lcom/ssjjsy/net/o;
const-string v0, "onRestart"
invoke-virtual {p0, v0}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;)V
return-void
.end method
.method public onResume()V
.locals 1
invoke-super {p0}, Landroid/app/Activity;->onResume()V
iget-object p0, p0, Lcom/ssjjsy/sdk/SdkActivity;->a:Lcom/ssjjsy/net/o;
const-string v0, "onResume"
invoke-virtual {p0, v0}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;)V
return-void
.end method
.method protected onStart()V
.locals 1
invoke-super {p0}, Landroid/app/Activity;->onStart()V
iget-object p0, p0, Lcom/ssjjsy/sdk/SdkActivity;->a:Lcom/ssjjsy/net/o;
const-string v0, "onStart"
invoke-virtual {p0, v0}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;)V
return-void
.end method
.method protected onStop()V
.locals 1
invoke-super {p0}, Landroid/app/Activity;->onStop()V
iget-object p0, p0, Lcom/ssjjsy/sdk/SdkActivity;->a:Lcom/ssjjsy/net/o;
const-string v0, "onStop"
invoke-virtual {p0, v0}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;)V
return-void
.end method
.method public onTouchEvent(Landroid/view/MotionEvent;)Z
.locals 0
invoke-super {p0, p1}, Landroid/app/Activity;->onTouchEvent(Landroid/view/MotionEvent;)Z
move-result p0
return p0
.end method
.class public Lcom/ssjjsy/sdk/grant/GrantActivity;
.super Landroid/app/Activity;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Landroid/app/Activity;-><init>()V
return-void
.end method
.method private parseIntent()V
.locals 5
invoke-virtual {p0}, Lcom/ssjjsy/sdk/grant/GrantActivity;->getIntent()Landroid/content/Intent;
move-result-object v0
if-eqz v0, :cond_3
:try_start_0
const-string v1, "requestPermission"
invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringArrayListExtra(Ljava/lang/String;)Ljava/util/ArrayList;
move-result-object v1
const-string v2, "requestCode"
const/4 v3, -0x1
invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I
move-result v0
if-eqz v1, :cond_2
invoke-virtual {v1}, Ljava/util/ArrayList;->size()I
move-result v2
if-eqz v2, :cond_2
if-ne v0, v3, :cond_0
goto :goto_1
:cond_0
invoke-virtual {v1}, Ljava/util/ArrayList;->size()I
move-result v2
new-array v2, v2, [Ljava/lang/String;
const/4 v3, 0x0
:goto_0
invoke-virtual {v1}, Ljava/util/ArrayList;->size()I
move-result v4
if-ge v3, v4, :cond_1
invoke-virtual {v1, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v4
check-cast v4, Ljava/lang/String;
aput-object v4, v2, v3
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_1
invoke-static {p0, v2, v0}, Landroid/support/v4/app/ActivityCompat;->requestPermissions(Landroid/app/Activity;[Ljava/lang/String;I)V
return-void
:cond_2
:goto_1
invoke-virtual {p0}, Lcom/ssjjsy/sdk/grant/GrantActivity;->finish()V
return-void
:catch_0
move-exception v0
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
invoke-static {v0}, Lcom/google/devtools/build/android/desugar/runtime/ThrowableExtension;->printStackTrace(Ljava/lang/Throwable;)V
:cond_3
invoke-virtual {p0}, Lcom/ssjjsy/sdk/grant/GrantActivity;->finish()V
return-void
.end method
# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
.locals 0
invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V
invoke-direct {p0}, Lcom/ssjjsy/sdk/grant/GrantActivity;->parseIntent()V
return-void
.end method
.method protected onDestroy()V
.locals 0
invoke-super {p0}, Landroid/app/Activity;->onDestroy()V
return-void
.end method
.method protected onNewIntent(Landroid/content/Intent;)V
.locals 4
if-eqz p1, :cond_3
:try_start_0
const-string v0, "requestPermission"
invoke-virtual {p1, v0}, Landroid/content/Intent;->getStringArrayListExtra(Ljava/lang/String;)Ljava/util/ArrayList;
move-result-object v0
const-string v1, "requestCode"
const/4 v2, -0x1
invoke-virtual {p1, v1, v2}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I
move-result p1
if-eqz v0, :cond_2
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v1
if-eqz v1, :cond_2
if-ne p1, v2, :cond_0
goto :goto_1
:cond_0
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v1
new-array v1, v1, [Ljava/lang/String;
const/4 v2, 0x0
:goto_0
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v3
if-ge v2, v3, :cond_1
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/lang/String;
aput-object v3, v1, v2
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_1
invoke-static {p0, v1, p1}, Landroid/support/v4/app/ActivityCompat;->requestPermissions(Landroid/app/Activity;[Ljava/lang/String;I)V
return-void
:cond_2
:goto_1
invoke-virtual {p0}, Lcom/ssjjsy/sdk/grant/GrantActivity;->finish()V
return-void
:catch_0
move-exception p1
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
invoke-static {p1}, Lcom/google/devtools/build/android/desugar/runtime/ThrowableExtension;->printStackTrace(Ljava/lang/Throwable;)V
:cond_3
invoke-virtual {p0}, Lcom/ssjjsy/sdk/grant/GrantActivity;->finish()V
return-void
.end method
.method public onRequestPermissionsResult(I[Ljava/lang/String;[I)V
.locals 1
invoke-static {}, Lcom/ssjjsy/sdk/grant/GrantManager;->getInstance()Lcom/ssjjsy/sdk/grant/GrantManager;
move-result-object v0
invoke-virtual {v0, p0, p1, p2, p3}, Lcom/ssjjsy/sdk/grant/GrantManager;->onRequestPermissionsResult(Landroid/app/Activity;I[Ljava/lang/String;[I)V
invoke-virtual {p0}, Lcom/ssjjsy/sdk/grant/GrantActivity;->finish()V
return-void
.end method
.class public final Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;
.super Landroid/app/Activity;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcn/com/chinatelecom/account/sdk/ui/AuthActivity$a;
}
.end annotation
# static fields
.field private static final b:Ljava/lang/String; = "AuthActivity"
.field private static c:Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;
# instance fields
.field a:Landroid/view/View$OnClickListener;
.field private d:Lcn/com/chinatelecom/account/sdk/ui/AuthActivity$a;
.field private e:Lcn/com/chinatelecom/account/sdk/ui/b;
.field private f:Lcn/com/chinatelecom/account/sdk/AuthPageConfig;
.field private g:Lcn/com/chinatelecom/account/sdk/a/a;
# direct methods
.method static constructor <clinit>()V
.locals 0
return-void
.end method
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Landroid/app/Activity;-><init>()V
const/4 v0, 0x0
iput-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->d:Lcn/com/chinatelecom/account/sdk/ui/AuthActivity$a;
iput-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->g:Lcn/com/chinatelecom/account/sdk/a/a;
new-instance v0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity$1;
invoke-direct {v0, p0}, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity$1;-><init>(Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;)V
iput-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->a:Landroid/view/View$OnClickListener;
return-void
.end method
.method public static declared-synchronized a()Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;
.locals 2
const-class v0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;
monitor-enter v0
:try_start_0
sget-object v1, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->c:Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit v0
return-object v1
:catchall_0
move-exception v1
monitor-exit v0
throw v1
.end method
.method static synthetic a(Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;)V
.locals 0
invoke-direct {p0}, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->c()V
return-void
.end method
.method static synthetic b(Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;)Lcn/com/chinatelecom/account/sdk/ui/b;
.locals 0
iget-object p0, p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->e:Lcn/com/chinatelecom/account/sdk/ui/b;
return-object p0
.end method
.method private c()V
.locals 1
invoke-static {}, Lcn/com/chinatelecom/account/api/c/j;->g()Ljava/lang/String;
move-result-object p0
invoke-static {}, Lcn/com/chinatelecom/account/sdk/a/a;->a()Lcn/com/chinatelecom/account/sdk/a/a;
move-result-object v0
invoke-virtual {v0, p0}, Lcn/com/chinatelecom/account/sdk/a/a;->a(Ljava/lang/String;)V
return-void
.end method
.method private d()V
.locals 3
:try_start_0
new-instance v0, Landroid/content/IntentFilter;
invoke-direct {v0}, Landroid/content/IntentFilter;-><init>()V
const-string v1, "cn.com.chinatelecom.account.sdk.preAuth.Action"
invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V
new-instance v1, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity$a;
const/4 v2, 0x0
invoke-direct {v1, p0, v2}, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity$a;-><init>(Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;Lcn/com/chinatelecom/account/sdk/ui/AuthActivity$1;)V
iput-object v1, p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->d:Lcn/com/chinatelecom/account/sdk/ui/AuthActivity$a;
iget-object v1, p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->d:Lcn/com/chinatelecom/account/sdk/ui/AuthActivity$a;
invoke-virtual {p0, v1, v0}, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
return-void
:catch_0
move-exception p0
:try_end_0
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
invoke-static {p0}, Lcom/google/devtools/build/android/desugar/runtime/ThrowableExtension;->printStackTrace(Ljava/lang/Throwable;)V
return-void
.end method
.method private e()V
.locals 1
:try_start_0
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->d:Lcn/com/chinatelecom/account/sdk/ui/AuthActivity$a;
if-eqz v0, :cond_0
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->d:Lcn/com/chinatelecom/account/sdk/ui/AuthActivity$a;
invoke-virtual {p0, v0}, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V
return-void
:catch_0
move-exception p0
:try_end_0
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
invoke-static {p0}, Lcom/google/devtools/build/android/desugar/runtime/ThrowableExtension;->printStackTrace(Ljava/lang/Throwable;)V
:cond_0
return-void
.end method
# virtual methods
.method public b()V
.locals 1
sget-object p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->b:Ljava/lang/String;
const-string v0, "finishActivity"
invoke-static {p0, v0}, Lcn/com/chinatelecom/account/api/b;->a(Ljava/lang/String;Ljava/lang/String;)V
const-class p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;
monitor-enter p0
:try_start_0
sget-object v0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->c:Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;
if-eqz v0, :cond_0
sget-object v0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->c:Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;
invoke-virtual {v0}, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->isFinishing()Z
move-result v0
if-nez v0, :cond_0
sget-object v0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->c:Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;
invoke-virtual {v0}, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->finish()V
const/4 v0, 0x0
sput-object v0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->c:Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;
:cond_0
monitor-exit p0
return-void
:catchall_0
move-exception v0
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v0
.end method
.method public onBackPressed()V
.locals 0
invoke-direct {p0}, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->c()V
return-void
.end method
.method protected onCreate(Landroid/os/Bundle;)V
.locals 5
invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V
const-class p1, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;
monitor-enter p1
:try_start_0
sput-object p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->c:Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;
monitor-exit p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-static {}, Lcn/com/chinatelecom/account/sdk/a/d;->a()Lcn/com/chinatelecom/account/sdk/a/d;
move-result-object p1
invoke-virtual {p1}, Lcn/com/chinatelecom/account/sdk/a/d;->b()Lcn/com/chinatelecom/account/sdk/AuthPageConfig;
move-result-object p1
iput-object p1, p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->f:Lcn/com/chinatelecom/account/sdk/AuthPageConfig;
iget-object p1, p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->f:Lcn/com/chinatelecom/account/sdk/AuthPageConfig;
invoke-virtual {p1}, Lcn/com/chinatelecom/account/sdk/AuthPageConfig;->a()I
move-result p1
if-nez p1, :cond_0
invoke-virtual {p0}, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->b()V
:cond_0
invoke-static {}, Lcn/com/chinatelecom/account/api/c/d;->a()Ljava/lang/String;
move-result-object v0
invoke-static {p0}, Lcn/com/chinatelecom/account/api/c/d;->a(Landroid/content/Context;)Ljava/lang/String;
move-result-object v1
const-string v2, "Login"
invoke-static {}, Lcn/com/chinatelecom/account/sdk/a/a;->a()Lcn/com/chinatelecom/account/sdk/a/a;
move-result-object v2
iput-object v2, p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->g:Lcn/com/chinatelecom/account/sdk/a/a;
iget-object v2, p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->g:Lcn/com/chinatelecom/account/sdk/a/a;
const/4 v3, 0x0
invoke-virtual {v2, p0, v3, v0}, Lcn/com/chinatelecom/account/sdk/a/a;->a(Landroid/content/Context;ZLjava/lang/String;)V
invoke-virtual {p0, p1}, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->setContentView(I)V
new-instance p1, Lcn/com/chinatelecom/account/sdk/ui/b;
iget-object v2, p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->g:Lcn/com/chinatelecom/account/sdk/a/a;
iget-object v3, p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->f:Lcn/com/chinatelecom/account/sdk/AuthPageConfig;
iget-object v4, p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->a:Landroid/view/View$OnClickListener;
invoke-direct {p1, p0, v2, v3, v4}, Lcn/com/chinatelecom/account/sdk/ui/b;-><init>(Landroid/app/Activity;Lcn/com/chinatelecom/account/sdk/a/a;Lcn/com/chinatelecom/account/sdk/AuthPageConfig;Landroid/view/View$OnClickListener;)V
iput-object p1, p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->e:Lcn/com/chinatelecom/account/sdk/ui/b;
invoke-direct {p0}, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->d()V
invoke-static {v0}, Lcn/com/chinatelecom/account/api/c/f;->a(Ljava/lang/String;)Lcn/com/chinatelecom/account/api/c/e;
move-result-object p1
invoke-virtual {p1, v1}, Lcn/com/chinatelecom/account/api/c/e;->a(Ljava/lang/String;)Lcn/com/chinatelecom/account/api/c/e;
move-result-object p1
const-string v0, "Login"
invoke-virtual {p1, v0}, Lcn/com/chinatelecom/account/api/c/e;->c(Ljava/lang/String;)Lcn/com/chinatelecom/account/api/c/e;
move-result-object p1
invoke-static {p0}, Lcn/com/chinatelecom/account/api/c/g;->f(Landroid/content/Context;)Ljava/lang/String;
move-result-object p0
invoke-virtual {p1, p0}, Lcn/com/chinatelecom/account/api/c/e;->b(Ljava/lang/String;)Lcn/com/chinatelecom/account/api/c/e;
return-void
:catchall_0
move-exception p0
:try_start_1
monitor-exit p1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw p0
.end method
.method protected onDestroy()V
.locals 2
invoke-super {p0}, Landroid/app/Activity;->onDestroy()V
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->e:Lcn/com/chinatelecom/account/sdk/ui/b;
const/4 v1, 0x0
if-eqz v0, :cond_0
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->e:Lcn/com/chinatelecom/account/sdk/ui/b;
invoke-virtual {v0}, Lcn/com/chinatelecom/account/sdk/ui/b;->d()V
iput-object v1, p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->e:Lcn/com/chinatelecom/account/sdk/ui/b;
:cond_0
iput-object v1, p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->f:Lcn/com/chinatelecom/account/sdk/AuthPageConfig;
iput-object v1, p0, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->g:Lcn/com/chinatelecom/account/sdk/a/a;
invoke-direct {p0}, Lcn/com/chinatelecom/account/sdk/ui/AuthActivity;->e()V
return-void
.end method
.method protected onPause()V
.locals 0
invoke-super {p0}, Landroid/app/Activity;->onPause()V
return-void
.end method
.class public final Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;
.super Landroid/app/Activity;
# instance fields
.field a:Landroid/view/View$OnClickListener;
.field private b:Lcn/com/chinatelecom/account/sdk/AuthPageConfig;
.field private c:Lcn/com/chinatelecom/account/sdk/AuthViewConfig;
.field private d:Landroid/view/View;
.field private e:Landroid/webkit/WebView;
.field private f:Landroid/widget/ProgressBar;
.field private g:Ljava/lang/String;
.field private h:Ljava/lang/String;
# direct methods
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Landroid/app/Activity;-><init>()V
new-instance v0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity$1;
invoke-direct {v0, p0}, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity$1;-><init>(Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;)V
iput-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->a:Landroid/view/View$OnClickListener;
return-void
.end method
.method static synthetic a(Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;)Landroid/widget/ProgressBar;
.locals 0
iget-object p0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->f:Landroid/widget/ProgressBar;
return-object p0
.end method
.method private a()V
.locals 2
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->b:Lcn/com/chinatelecom/account/sdk/AuthPageConfig;
invoke-virtual {v0}, Lcn/com/chinatelecom/account/sdk/AuthPageConfig;->p()I
move-result v0
invoke-virtual {p0, v0}, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
iput-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->d:Landroid/view/View;
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->d:Landroid/view/View;
iget-object v1, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->a:Landroid/view/View$OnClickListener;
invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->b:Lcn/com/chinatelecom/account/sdk/AuthPageConfig;
invoke-virtual {v0}, Lcn/com/chinatelecom/account/sdk/AuthPageConfig;->r()I
move-result v0
invoke-virtual {p0, v0}, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/webkit/WebView;
iput-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->e:Landroid/webkit/WebView;
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->b:Lcn/com/chinatelecom/account/sdk/AuthPageConfig;
invoke-virtual {v0}, Lcn/com/chinatelecom/account/sdk/AuthPageConfig;->q()I
move-result v0
invoke-virtual {p0, v0}, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/ProgressBar;
iput-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->f:Landroid/widget/ProgressBar;
return-void
.end method
.method private b()V
.locals 2
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->c:Lcn/com/chinatelecom/account/sdk/AuthViewConfig;
iget v0, v0, Lcn/com/chinatelecom/account/sdk/AuthViewConfig;->at:I
if-eqz v0, :cond_1
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->c:Lcn/com/chinatelecom/account/sdk/AuthViewConfig;
iget v0, v0, Lcn/com/chinatelecom/account/sdk/AuthViewConfig;->at:I
invoke-virtual {p0, v0}, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
iget-object v1, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->c:Lcn/com/chinatelecom/account/sdk/AuthViewConfig;
iget v1, v1, Lcn/com/chinatelecom/account/sdk/AuthViewConfig;->b:I
if-eqz v1, :cond_0
iget-object v1, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->c:Lcn/com/chinatelecom/account/sdk/AuthViewConfig;
iget v1, v1, Lcn/com/chinatelecom/account/sdk/AuthViewConfig;->b:I
invoke-virtual {v0, v1}, Landroid/view/View;->setBackgroundColor(I)V
:cond_0
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->c:Lcn/com/chinatelecom/account/sdk/AuthViewConfig;
iget v0, v0, Lcn/com/chinatelecom/account/sdk/AuthViewConfig;->c:I
if-eqz v0, :cond_1
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->c:Lcn/com/chinatelecom/account/sdk/AuthViewConfig;
iget v0, v0, Lcn/com/chinatelecom/account/sdk/AuthViewConfig;->d:I
if-eqz v0, :cond_1
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->d:Landroid/view/View;
instance-of v0, v0, Landroid/widget/ImageView;
if-eqz v0, :cond_1
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->d:Landroid/view/View;
check-cast v0, Landroid/widget/ImageView;
iget-object v1, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->c:Lcn/com/chinatelecom/account/sdk/AuthViewConfig;
iget v1, v1, Lcn/com/chinatelecom/account/sdk/AuthViewConfig;->d:I
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V
:cond_1
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->c:Lcn/com/chinatelecom/account/sdk/AuthViewConfig;
iget v0, v0, Lcn/com/chinatelecom/account/sdk/AuthViewConfig;->au:I
if-eqz v0, :cond_4
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->c:Lcn/com/chinatelecom/account/sdk/AuthViewConfig;
iget v0, v0, Lcn/com/chinatelecom/account/sdk/AuthViewConfig;->au:I
invoke-virtual {p0, v0}, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/TextView;
iget-object v1, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->h:Ljava/lang/String;
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v1
if-nez v1, :cond_2
iget-object v1, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->h:Ljava/lang/String;
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
:cond_2
iget-object v1, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->c:Lcn/com/chinatelecom/account/sdk/AuthViewConfig;
iget v1, v1, Lcn/com/chinatelecom/account/sdk/AuthViewConfig;->g:I
if-eqz v1, :cond_3
iget-object v1, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->c:Lcn/com/chinatelecom/account/sdk/AuthViewConfig;
iget v1, v1, Lcn/com/chinatelecom/account/sdk/AuthViewConfig;->g:I
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V
:cond_3
iget-object v1, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->c:Lcn/com/chinatelecom/account/sdk/AuthViewConfig;
iget v1, v1, Lcn/com/chinatelecom/account/sdk/AuthViewConfig;->h:I
if-eqz v1, :cond_4
iget-object p0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->c:Lcn/com/chinatelecom/account/sdk/AuthViewConfig;
iget p0, p0, Lcn/com/chinatelecom/account/sdk/AuthViewConfig;->h:I
int-to-float p0, p0
invoke-virtual {v0, p0}, Landroid/widget/TextView;->setTextSize(F)V
:cond_4
return-void
.end method
.method private c()V
.locals 1
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->g:Ljava/lang/String;
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-nez v0, :cond_0
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->e:Landroid/webkit/WebView;
iget-object p0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->g:Ljava/lang/String;
invoke-virtual {v0, p0}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V
:cond_0
return-void
.end method
.method private d()V
.locals 4
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->e:Landroid/webkit/WebView;
invoke-virtual {v0}, Landroid/webkit/WebView;->getSettings()Landroid/webkit/WebSettings;
move-result-object v0
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v2, 0xe
if-lt v1, v2, :cond_0
const/16 v1, 0x64
invoke-virtual {v0, v1}, Landroid/webkit/WebSettings;->setTextZoom(I)V
:cond_0
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/webkit/WebSettings;->setAllowFileAccess(Z)V
sget v2, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v3, 0x10
if-lt v2, v3, :cond_1
invoke-virtual {v0, v1}, Landroid/webkit/WebSettings;->setAllowUniversalAccessFromFileURLs(Z)V
:cond_1
const/4 v1, 0x1
invoke-virtual {v0, v1}, Landroid/webkit/WebSettings;->setBuiltInZoomControls(Z)V
sget v2, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v3, 0xb
if-lt v2, v3, :cond_2
iget-object v2, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->e:Landroid/webkit/WebView;
const-string v3, "searchBoxJavaBridge_"
invoke-virtual {v2, v3}, Landroid/webkit/WebView;->removeJavascriptInterface(Ljava/lang/String;)V
iget-object v2, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->e:Landroid/webkit/WebView;
const-string v3, "accessibility"
invoke-virtual {v2, v3}, Landroid/webkit/WebView;->removeJavascriptInterface(Ljava/lang/String;)V
iget-object v2, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->e:Landroid/webkit/WebView;
const-string v3, "accessibilityTraversal"
invoke-virtual {v2, v3}, Landroid/webkit/WebView;->removeJavascriptInterface(Ljava/lang/String;)V
:cond_2
invoke-virtual {v0, v1}, Landroid/webkit/WebSettings;->setJavaScriptEnabled(Z)V
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->e:Landroid/webkit/WebView;
new-instance v1, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity$2;
invoke-direct {v1, p0}, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity$2;-><init>(Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;)V
invoke-virtual {v0, v1}, Landroid/webkit/WebView;->setWebViewClient(Landroid/webkit/WebViewClient;)V
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->e:Landroid/webkit/WebView;
new-instance v1, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity$3;
invoke-direct {v1, p0}, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity$3;-><init>(Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;)V
invoke-virtual {v0, v1}, Landroid/webkit/WebView;->setWebChromeClient(Landroid/webkit/WebChromeClient;)V
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->e:Landroid/webkit/WebView;
new-instance v1, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity$4;
invoke-direct {v1, p0}, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity$4;-><init>(Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;)V
invoke-virtual {v0, v1}, Landroid/webkit/WebView;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V
return-void
.end method
# virtual methods
.method public onBackPressed()V
.locals 1
iget-object v0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->e:Landroid/webkit/WebView;
invoke-virtual {v0}, Landroid/webkit/WebView;->canGoBack()Z
move-result v0
if-eqz v0, :cond_0
iget-object p0, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->e:Landroid/webkit/WebView;
invoke-virtual {p0}, Landroid/webkit/WebView;->goBack()V
return-void
:cond_0
invoke-super {p0}, Landroid/app/Activity;->onBackPressed()V
return-void
.end method
.method protected onCreate(Landroid/os/Bundle;)V
.locals 1
invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V
invoke-static {}, Lcn/com/chinatelecom/account/sdk/a/d;->a()Lcn/com/chinatelecom/account/sdk/a/d;
move-result-object p1
invoke-virtual {p1}, Lcn/com/chinatelecom/account/sdk/a/d;->b()Lcn/com/chinatelecom/account/sdk/AuthPageConfig;
move-result-object p1
iput-object p1, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->b:Lcn/com/chinatelecom/account/sdk/AuthPageConfig;
invoke-static {}, Lcn/com/chinatelecom/account/sdk/a/d;->a()Lcn/com/chinatelecom/account/sdk/a/d;
move-result-object p1
invoke-virtual {p1}, Lcn/com/chinatelecom/account/sdk/a/d;->c()Lcn/com/chinatelecom/account/sdk/AuthViewConfig;
move-result-object p1
iput-object p1, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->c:Lcn/com/chinatelecom/account/sdk/AuthViewConfig;
iget-object p1, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->b:Lcn/com/chinatelecom/account/sdk/AuthPageConfig;
invoke-virtual {p1}, Lcn/com/chinatelecom/account/sdk/AuthPageConfig;->o()I
move-result p1
invoke-virtual {p0, p1}, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->setContentView(I)V
invoke-virtual {p0}, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->getIntent()Landroid/content/Intent;
move-result-object p1
const-string v0, "privacyProtocolUrl"
invoke-virtual {p1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
iput-object p1, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->g:Ljava/lang/String;
invoke-virtual {p0}, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->getIntent()Landroid/content/Intent;
move-result-object p1
const-string v0, "privacyProtocolTitle"
invoke-virtual {p1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
iput-object p1, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->h:Ljava/lang/String;
iget-object p1, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->h:Ljava/lang/String;
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result p1
if-eqz p1, :cond_0
const-string p1, "\u670d\u52a1\u4e0e\u9690\u79c1\u534f\u8bae"
iput-object p1, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->h:Ljava/lang/String;
:cond_0
invoke-direct {p0}, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->a()V
invoke-direct {p0}, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->d()V
iget-object p1, p0, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->c:Lcn/com/chinatelecom/account/sdk/AuthViewConfig;
if-eqz p1, :cond_1
invoke-direct {p0}, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->b()V
:cond_1
invoke-direct {p0}, Lcn/com/chinatelecom/account/sdk/ui/PrivacyWebviewActivity;->c()V
return-void
.end method
.method protected onDestroy()V
.locals 0
invoke-super {p0}, Landroid/app/Activity;->onDestroy()V
return-void
.end method
.method protected onPause()V
.locals 0
invoke-super {p0}, Landroid/app/Activity;->onPause()V
return-void
.end method
.class public Lcn/m4399/login/union/wo/WoLoginActivity;
.super Landroid/support/v7/app/AppCompatActivity;
.source "WoLoginActivity.java"
# instance fields
.field private a:Ljava/lang/String;
.field private b:Ljava/lang/String;
.field private c:Lcn/m4399/login/union/api/LoginUiModel;
.field private d:Lcn/m4399/login/union/b/d;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcn/m4399/login/union/b/d<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Landroid/support/v7/app/AppCompatActivity;-><init>()V
return-void
.end method
.method private a()V
.locals 3
.line 9
invoke-direct {p0}, Lcn/m4399/login/union/wo/WoLoginActivity;->f()V
.line 11
invoke-static {}, Lcom/unicom/xiaowo/account/shield/UniAccountHelper;->getInstance()Lcom/unicom/xiaowo/account/shield/UniAccountHelper;
move-result-object v0
iget-object v1, p0, Lcn/m4399/login/union/wo/WoLoginActivity;->b:Ljava/lang/String;
new-instance v2, Lcn/m4399/login/union/wo/WoLoginActivity$f;
invoke-direct {v2, p0}, Lcn/m4399/login/union/wo/WoLoginActivity$f;-><init>(Lcn/m4399/login/union/wo/WoLoginActivity;)V
invoke-virtual {v0, p0, v1, v2}, Lcom/unicom/xiaowo/account/shield/UniAccountHelper;->getLoginToken(Landroid/content/Context;Ljava/lang/String;Lcom/unicom/xiaowo/account/shield/ResultListener;)V
return-void
.end method
.method private a(ILandroid/view/View$OnClickListener;)V
.locals 0
.line 26
invoke-virtual {p0, p1}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View;
move-result-object p0
.line 27
const/4 p1, 0x1
invoke-virtual {p0, p1}, Landroid/view/View;->setClickable(Z)V
.line 28
invoke-virtual {p0, p1}, Landroid/view/View;->setFocusable(Z)V
.line 29
invoke-virtual {p0, p2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
return-void
.end method
.method static synthetic a(Lcn/m4399/login/union/wo/WoLoginActivity;)V
.locals 0
.line 1
invoke-direct {p0}, Lcn/m4399/login/union/wo/WoLoginActivity;->e()V
return-void
.end method
.method static synthetic a(Lcn/m4399/login/union/wo/WoLoginActivity;Lcn/m4399/login/union/wo/c;)V
.locals 0
.line 2
invoke-direct {p0, p1}, Lcn/m4399/login/union/wo/WoLoginActivity;->a(Lcn/m4399/login/union/wo/c;)V
return-void
.end method
.method private a(Lcn/m4399/login/union/wo/c;)V
.locals 9
.line 12
sget v0, Lcn/m4399/login/union/R$id;->ct_account_login_btn:I
invoke-virtual {p0, v0}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
const/4 v1, 0x1
invoke-virtual {v0, v1}, Landroid/view/View;->setEnabled(Z)V
.line 13
sget v0, Lcn/m4399/login/union/R$id;->ct_account_login_text:I
invoke-virtual {p0, v0}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
.line 14
sget v0, Lcn/m4399/login/union/R$id;->ct_account_login_loading:I
invoke-virtual {p0, v0}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/ImageView;
.line 15
invoke-virtual {v0}, Landroid/widget/ImageView;->clearAnimation()V
.line 16
const/16 v2, 0x8
invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V
.line 18
iget-object v0, p0, Lcn/m4399/login/union/wo/WoLoginActivity;->d:Lcn/m4399/login/union/b/d;
if-nez v0, :cond_0
.line 19
sget p1, Lcn/m4399/login/union/R$string;->m4399_login_error_no_login_listener:I
:goto_0
invoke-static {p0, p1, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;
move-result-object p0
invoke-virtual {p0}, Landroid/widget/Toast;->show()V
return-void
.line 21
:cond_0
iget-wide v2, p1, Lcn/m4399/login/union/wo/c;->a:J
const-wide/16 v4, 0x0
cmp-long v2, v2, v4
if-nez v2, :cond_1
.line 22
new-instance v1, Lcn/m4399/login/union/b/e;
iget-object v8, p1, Lcn/m4399/login/union/wo/c;->c:Ljava/lang/String;
const-string v7, "success"
const-wide/16 v4, 0x0
const/4 v6, 0x1
move-object v3, v1
invoke-direct/range {v3 .. v8}, Lcn/m4399/login/union/b/e;-><init>(JZLjava/lang/String;Ljava/lang/Object;)V
invoke-interface {v0, v1}, Lcn/m4399/login/union/b/d;->a(Lcn/m4399/login/union/b/e;)V
.line 23
invoke-virtual {p0}, Lcn/m4399/login/union/wo/WoLoginActivity;->finish()V
return-void
.line 25
:cond_1
sget p1, Lcn/m4399/login/union/R$string;->m4399_login_error_normal:I
goto :goto_0
return-void
.end method
.method private varargs a([Lcn/m4399/login/union/api/LoginUiModel$ExtendViewHolder;)V
.locals 4
if-eqz p1, :cond_1
.line 3
array-length v0, p1
if-lez v0, :cond_1
.line 5
array-length v0, p1
const/4 v1, 0x0
:goto_0
if-ge v1, v0, :cond_1
aget-object v2, p1, v1
.line 6
iget v3, v2, Lcn/m4399/login/union/api/LoginUiModel$ExtendViewHolder;->view:I
invoke-virtual {p0, v3}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View;
move-result-object v3
if-eqz v3, :cond_0
.line 8
iget-object v2, v2, Lcn/m4399/login/union/api/LoginUiModel$ExtendViewHolder;->listener:Landroid/view/View$OnClickListener;
invoke-virtual {v3, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
return-void
.end method
.method private b()V
.locals 2
.line 2
invoke-virtual {p0}, Landroid/support/v7/app/AppCompatActivity;->getIntent()Landroid/content/Intent;
move-result-object v0
if-eqz v0, :cond_0
const-string v1, "ct.control.UnicomLoginActivity.KEY_DESENSITISED_PHONE_NO"
.line 4
invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
iput-object v1, p0, Lcn/m4399/login/union/wo/WoLoginActivity;->a:Ljava/lang/String;
const-string v1, "ct.control.UnicomLoginActivity.KEY_DESENSITISED_ACCESS_CODE"
.line 5
invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcn/m4399/login/union/wo/WoLoginActivity;->b:Ljava/lang/String;
.line 8
:cond_0
iget-object v0, p0, Lcn/m4399/login/union/wo/WoLoginActivity;->a:Ljava/lang/String;
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_1
.line 9
sget v0, Lcn/m4399/login/union/R$string;->ct_account_label_desensitise_phone_no_default:I
invoke-virtual {p0, v0}, Landroid/support/v7/app/AppCompatActivity;->getString(I)Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcn/m4399/login/union/wo/WoLoginActivity;->a:Ljava/lang/String;
.line 11
:cond_1
invoke-static {}, Lcn/m4399/login/union/a/d;->d()Lcn/m4399/login/union/a/d;
move-result-object v0
invoke-virtual {v0}, Lcn/m4399/login/union/a/d;->c()Lcn/m4399/login/union/a/e;
move-result-object v0
check-cast v0, Lcn/m4399/login/union/wo/b;
.line 12
invoke-virtual {v0}, Lcn/m4399/login/union/wo/b;->d()Lcn/m4399/login/union/api/LoginUiModel;
move-result-object v1
iput-object v1, p0, Lcn/m4399/login/union/wo/WoLoginActivity;->c:Lcn/m4399/login/union/api/LoginUiModel;
.line 13
invoke-virtual {v0}, Lcn/m4399/login/union/wo/b;->c()Lcn/m4399/login/union/b/d;
move-result-object v0
iput-object v0, p0, Lcn/m4399/login/union/wo/WoLoginActivity;->d:Lcn/m4399/login/union/b/d;
return-void
.end method
.method static synthetic b(Lcn/m4399/login/union/wo/WoLoginActivity;)V
.locals 0
.line 1
invoke-direct {p0}, Lcn/m4399/login/union/wo/WoLoginActivity;->a()V
return-void
.end method
.method private c()V
.locals 6
.line 2
sget v0, Lcn/m4399/login/union/R$id;->ct_account_nav_return:I
new-instance v1, Lcn/m4399/login/union/wo/WoLoginActivity$a;
invoke-direct {v1, p0}, Lcn/m4399/login/union/wo/WoLoginActivity$a;-><init>(Lcn/m4399/login/union/wo/WoLoginActivity;)V
invoke-direct {p0, v0, v1}, Lcn/m4399/login/union/wo/WoLoginActivity;->a(ILandroid/view/View$OnClickListener;)V
.line 9
sget v0, Lcn/m4399/login/union/R$id;->ct_account_other_login_way:I
new-instance v1, Lcn/m4399/login/union/wo/WoLoginActivity$b;
invoke-direct {v1, p0}, Lcn/m4399/login/union/wo/WoLoginActivity$b;-><init>(Lcn/m4399/login/union/wo/WoLoginActivity;)V
invoke-direct {p0, v0, v1}, Lcn/m4399/login/union/wo/WoLoginActivity;->a(ILandroid/view/View$OnClickListener;)V
.line 17
sget v0, Lcn/m4399/login/union/R$id;->ct_account_app_logo:I
invoke-virtual {p0, v0}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/ImageView;
.line 18
iget-object v1, p0, Lcn/m4399/login/union/wo/WoLoginActivity;->c:Lcn/m4399/login/union/api/LoginUiModel;
invoke-virtual {v1}, Lcn/m4399/login/union/api/LoginUiModel;->appLogo()I
move-result v1
if-eqz v1, :cond_0
.line 19
iget-object v1, p0, Lcn/m4399/login/union/wo/WoLoginActivity;->c:Lcn/m4399/login/union/api/LoginUiModel;
invoke-virtual {v1}, Lcn/m4399/login/union/api/LoginUiModel;->appLogo()I
move-result v1
:goto_0
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V
goto :goto_1
.line 21
:cond_0
invoke-virtual {v0}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;
move-result-object v1
if-nez v1, :cond_1
.line 22
invoke-static {}, Lcn/m4399/login/union/a/h;->e()Lcn/m4399/login/union/a/h;
move-result-object v1
invoke-virtual {v1}, Lcn/m4399/login/union/a/h;->a()I
move-result v1
goto :goto_0
.line 26
:cond_1
:goto_1
sget v0, Lcn/m4399/login/union/R$id;->ct_account_insensitive_phone:I
invoke-virtual {p0, v0}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/TextView;
.line 27
iget-object v1, p0, Lcn/m4399/login/union/wo/WoLoginActivity;->a:Ljava/lang/String;
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
.line 30
sget v0, Lcn/m4399/login/union/R$id;->ct_account_brand_view:I
invoke-virtual {p0, v0}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/TextView;
.line 31
sget v1, Lcn/m4399/login/union/R$string;->unicom_label_service_provider:I
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V
.line 33
invoke-virtual {p0}, Landroid/support/v7/app/AppCompatActivity;->getResources()Landroid/content/res/Resources;
move-result-object v1
sget v2, Lcn/m4399/login/union/R$drawable;->unicom_account_brand_logo:I
invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;
move-result-object v1
.line 34
const/4 v2, 0x0
invoke-virtual {v0, v1, v2, v2, v2}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
.line 42
sget v0, Lcn/m4399/login/union/R$id;->ct_account_login_btn:I
new-instance v1, Lcn/m4399/login/union/wo/WoLoginActivity$c;
invoke-direct {v1, p0}, Lcn/m4399/login/union/wo/WoLoginActivity$c;-><init>(Lcn/m4399/login/union/wo/WoLoginActivity;)V
invoke-direct {p0, v0, v1}, Lcn/m4399/login/union/wo/WoLoginActivity;->a(ILandroid/view/View$OnClickListener;)V
.line 55
sget v0, Lcn/m4399/login/union/R$id;->ct_auth_privacy_text:I
invoke-virtual {p0, v0}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/TextView;
.line 56
new-instance v1, Lcn/m4399/login/union/wo/a;
invoke-direct {v1, v0}, Lcn/m4399/login/union/wo/a;-><init>(Landroid/widget/TextView;)V
.line 57
sget v0, Lcn/m4399/login/union/R$string;->unicom_link_privacy_name:I
invoke-virtual {p0, v0}, Landroid/support/v7/app/AppCompatActivity;->getString(I)Ljava/lang/String;
move-result-object v0
.line 59
sget v2, Lcn/m4399/login/union/R$string;->unicom_formatter_privacy_protocol:I
const/4 v3, 0x2
new-array v3, v3, [Ljava/lang/Object;
const/4 v4, 0x0
aput-object v0, v3, v4
iget-object v4, p0, Lcn/m4399/login/union/wo/WoLoginActivity;->c:Lcn/m4399/login/union/api/LoginUiModel;
.line 60
invoke-static {v4}, Lcn/m4399/login/union/a/g;->a(Lcn/m4399/login/union/api/LoginUiModel;)Ljava/lang/String;
move-result-object v4
const/4 v5, 0x1
aput-object v4, v3, v5
invoke-virtual {p0, v2, v3}, Landroid/support/v7/app/AppCompatActivity;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v2
.line 61
new-instance v3, Lcn/m4399/login/union/wo/WoLoginActivity$d;
invoke-direct {v3, p0}, Lcn/m4399/login/union/wo/WoLoginActivity$d;-><init>(Lcn/m4399/login/union/wo/WoLoginActivity;)V
invoke-virtual {v1, v2, v0, v3}, Lcn/m4399/login/union/wo/a;->a(Ljava/lang/String;Ljava/lang/String;Landroid/view/View$OnClickListener;)V
.line 68
iget-object v0, p0, Lcn/m4399/login/union/wo/WoLoginActivity;->c:Lcn/m4399/login/union/api/LoginUiModel;
invoke-virtual {v0}, Lcn/m4399/login/union/api/LoginUiModel;->extendViewHolders()[Lcn/m4399/login/union/api/LoginUiModel$ExtendViewHolder;
move-result-object v0
invoke-direct {p0, v0}, Lcn/m4399/login/union/wo/WoLoginActivity;->a([Lcn/m4399/login/union/api/LoginUiModel$ExtendViewHolder;)V
return-void
.end method
.method static synthetic c(Lcn/m4399/login/union/wo/WoLoginActivity;)V
.locals 0
.line 1
invoke-direct {p0}, Lcn/m4399/login/union/wo/WoLoginActivity;->h()V
return-void
.end method
.method private d()V
.locals 5
.line 2
iget-object p0, p0, Lcn/m4399/login/union/wo/WoLoginActivity;->d:Lcn/m4399/login/union/b/d;
if-eqz p0, :cond_0
.line 3
new-instance v0, Lcn/m4399/login/union/b/e;
sget v1, Lcn/m4399/login/union/R$string;->unicom_message_80200:I
const/4 v2, 0x0
const-wide/32 v3, 0x13948
invoke-direct {v0, v3, v4, v2, v1}, Lcn/m4399/login/union/b/e;-><init>(JZI)V
invoke-interface {p0, v0}, Lcn/m4399/login/union/b/d;->a(Lcn/m4399/login/union/b/e;)V
:cond_0
return-void
.end method
.method static synthetic d(Lcn/m4399/login/union/wo/WoLoginActivity;)V
.locals 0
.line 1
invoke-direct {p0}, Lcn/m4399/login/union/wo/WoLoginActivity;->g()V
return-void
.end method
.method private e()V
.locals 6
.line 1
iget-object v0, p0, Lcn/m4399/login/union/wo/WoLoginActivity;->d:Lcn/m4399/login/union/b/d;
if-eqz v0, :cond_0
.line 2
new-instance v1, Lcn/m4399/login/union/b/e;
sget v2, Lcn/m4399/login/union/R$string;->unicom_message_80201:I
const/4 v3, 0x0
const-wide/32 v4, 0x13949
invoke-direct {v1, v4, v5, v3, v2}, Lcn/m4399/login/union/b/e;-><init>(JZI)V
invoke-interface {v0, v1}, Lcn/m4399/login/union/b/d;->a(Lcn/m4399/login/union/b/e;)V
.line 5
invoke-virtual {p0}, Lcn/m4399/login/union/wo/WoLoginActivity;->finish()V
:cond_0
return-void
.end method
.method private f()V
.locals 3
.line 1
sget v0, Lcn/m4399/login/union/R$id;->ct_account_login_btn:I
invoke-virtual {p0, v0}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/view/View;->setEnabled(Z)V
.line 2
sget v0, Lcn/m4399/login/union/R$id;->ct_account_login_text:I
invoke-virtual {p0, v0}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
const/16 v2, 0x8
invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V
.line 3
sget v0, Lcn/m4399/login/union/R$id;->ct_account_login_loading:I
invoke-virtual {p0, v0}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/ImageView;
.line 4
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V
.line 5
sget v1, Lcn/m4399/login/union/R$anim;->ct_account_rotate_anim_iv:I
invoke-static {p0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;
move-result-object p0
invoke-virtual {v0, p0}, Landroid/widget/ImageView;->startAnimation(Landroid/view/animation/Animation;)V
return-void
.end method
.method private g()V
.locals 2
.line 1
new-instance v0, Landroid/content/Intent;
const-class v1, Lcn/m4399/login/union/wo/WoPrivacyContentActivity;
invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
invoke-virtual {p0, v0}, Landroid/support/v7/app/AppCompatActivity;->startActivity(Landroid/content/Intent;)V
.line 2
iget-object v0, p0, Lcn/m4399/login/union/wo/WoLoginActivity;->c:Lcn/m4399/login/union/api/LoginUiModel;
invoke-virtual {v0}, Lcn/m4399/login/union/api/LoginUiModel;->startEnterAnimation()I
move-result v0
iget-object v1, p0, Lcn/m4399/login/union/wo/WoLoginActivity;->c:Lcn/m4399/login/union/api/LoginUiModel;
.line 3
invoke-virtual {v1}, Lcn/m4399/login/union/api/LoginUiModel;->startExitAnimation()I
move-result v1
.line 4
invoke-virtual {p0, v0, v1}, Landroid/support/v7/app/AppCompatActivity;->overridePendingTransition(II)V
return-void
.end method
.method private h()V
.locals 1
.line 1
new-instance v0, Lcn/m4399/login/union/wo/WoLoginActivity$e;
invoke-direct {v0, p0, p0}, Lcn/m4399/login/union/wo/WoLoginActivity$e;-><init>(Lcn/m4399/login/union/wo/WoLoginActivity;Landroid/content/Context;)V
.line 11
invoke-virtual {v0}, Landroid/app/Dialog;->show()V
return-void
.end method
# virtual methods
.method public finish()V
.locals 2
.line 1
invoke-super {p0}, Landroid/support/v7/app/AppCompatActivity;->finish()V
.line 2
iget-object v0, p0, Lcn/m4399/login/union/wo/WoLoginActivity;->c:Lcn/m4399/login/union/api/LoginUiModel;
invoke-virtual {v0}, Lcn/m4399/login/union/api/LoginUiModel;->finishEnterAnimation()I
move-result v0
iget-object v1, p0, Lcn/m4399/login/union/wo/WoLoginActivity;->c:Lcn/m4399/login/union/api/LoginUiModel;
.line 3
invoke-virtual {v1}, Lcn/m4399/login/union/api/LoginUiModel;->finishExitAnimation()I
move-result v1
.line 4
invoke-virtual {p0, v0, v1}, Landroid/support/v7/app/AppCompatActivity;->overridePendingTransition(II)V
return-void
.end method
.method public onBackPressed()V
.locals 0
.line 1
invoke-super {p0}, Landroid/support/v7/app/AppCompatActivity;->onBackPressed()V
.line 2
invoke-direct {p0}, Lcn/m4399/login/union/wo/WoLoginActivity;->d()V
return-void
.end method
.method protected onCreate(Landroid/os/Bundle;)V
.locals 0
.line 1
invoke-super {p0, p1}, Landroid/support/v7/app/AppCompatActivity;->onCreate(Landroid/os/Bundle;)V
.line 3
invoke-direct {p0}, Lcn/m4399/login/union/wo/WoLoginActivity;->b()V
.line 4
iget-object p1, p0, Lcn/m4399/login/union/wo/WoLoginActivity;->c:Lcn/m4399/login/union/api/LoginUiModel;
invoke-virtual {p1}, Lcn/m4399/login/union/api/LoginUiModel;->loginActivityLayout()I
move-result p1
invoke-virtual {p0, p1}, Landroid/support/v7/app/AppCompatActivity;->setContentView(I)V
.line 5
invoke-direct {p0}, Lcn/m4399/login/union/wo/WoLoginActivity;->c()V
return-void
.end method
.class public Lcn/m4399/login/union/wo/WoPrivacyContentActivity;
.super Landroid/support/v7/app/AppCompatActivity;
.source "WoPrivacyContentActivity.java"
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Landroid/support/v7/app/AppCompatActivity;-><init>()V
return-void
.end method
.method private a()V
.locals 4
.annotation build Landroid/annotation/SuppressLint;
value = {
"SetJavaScriptEnabled"
}
.end annotation
.line 1
sget v0, Lcn/m4399/login/union/R$id;->ct_account_webview_return:I
new-instance v1, Lcn/m4399/login/union/wo/WoPrivacyContentActivity$a;
invoke-direct {v1, p0}, Lcn/m4399/login/union/wo/WoPrivacyContentActivity$a;-><init>(Lcn/m4399/login/union/wo/WoPrivacyContentActivity;)V
invoke-direct {p0, v0, v1}, Lcn/m4399/login/union/wo/WoPrivacyContentActivity;->a(ILandroid/view/View$OnClickListener;)V
.line 8
sget v0, Lcn/m4399/login/union/R$id;->ct_account_webview:I
invoke-virtual {p0, v0}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/webkit/WebView;
.line 9
new-instance v1, Lcn/m4399/login/union/wo/WoPrivacyContentActivity$b;
invoke-direct {v1, p0}, Lcn/m4399/login/union/wo/WoPrivacyContentActivity$b;-><init>(Lcn/m4399/login/union/wo/WoPrivacyContentActivity;)V
invoke-virtual {v0, v1}, Landroid/webkit/WebView;->setWebChromeClient(Landroid/webkit/WebChromeClient;)V
.line 32
new-instance v1, Lcn/m4399/login/union/wo/WoPrivacyContentActivity$c;
invoke-direct {v1, p0, v0}, Lcn/m4399/login/union/wo/WoPrivacyContentActivity$c;-><init>(Lcn/m4399/login/union/wo/WoPrivacyContentActivity;Landroid/webkit/WebView;)V
invoke-virtual {v0, v1}, Landroid/webkit/WebView;->setWebViewClient(Landroid/webkit/WebViewClient;)V
.line 44
invoke-virtual {v0}, Landroid/webkit/WebView;->getSettings()Landroid/webkit/WebSettings;
move-result-object v1
.line 45
const/4 v2, 0x1
invoke-virtual {v1, v2}, Landroid/webkit/WebSettings;->setJavaScriptEnabled(Z)V
.line 46
const/4 v3, 0x0
invoke-virtual {v1, v3}, Landroid/webkit/WebSettings;->setAllowFileAccess(Z)V
.line 47
invoke-virtual {v1, v2}, Landroid/webkit/WebSettings;->setAllowContentAccess(Z)V
.line 48
invoke-virtual {v1, v2}, Landroid/webkit/WebSettings;->setDatabaseEnabled(Z)V
.line 49
invoke-virtual {v1, v2}, Landroid/webkit/WebSettings;->setDomStorageEnabled(Z)V
.line 50
invoke-virtual {v1, v2}, Landroid/webkit/WebSettings;->setAppCacheEnabled(Z)V
.line 51
invoke-virtual {v1, v2}, Landroid/webkit/WebSettings;->setUseWideViewPort(Z)V
.line 53
sget v1, Lcn/m4399/login/union/R$string;->m4399_login_privacy_protocol_unicom:I
invoke-virtual {p0, v1}, Landroid/support/v7/app/AppCompatActivity;->getString(I)Ljava/lang/String;
move-result-object p0
invoke-virtual {v0, p0}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V
return-void
.end method
.method private a(ILandroid/view/View$OnClickListener;)V
.locals 0
.line 54
invoke-virtual {p0, p1}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View;
move-result-object p0
.line 55
const/4 p1, 0x1
invoke-virtual {p0, p1}, Landroid/view/View;->setClickable(Z)V
.line 56
invoke-virtual {p0, p1}, Landroid/view/View;->setFocusable(Z)V
.line 57
invoke-virtual {p0, p2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
return-void
.end method
.method private b()Lcn/m4399/login/union/api/LoginUiModel;
.locals 0
.line 1
invoke-static {}, Lcn/m4399/login/union/a/d;->d()Lcn/m4399/login/union/a/d;
move-result-object p0
invoke-virtual {p0}, Lcn/m4399/login/union/a/d;->c()Lcn/m4399/login/union/a/e;
move-result-object p0
check-cast p0, Lcn/m4399/login/union/wo/b;
.line 2
invoke-virtual {p0}, Lcn/m4399/login/union/wo/b;->d()Lcn/m4399/login/union/api/LoginUiModel;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public finish()V
.locals 2
.line 1
invoke-super {p0}, Landroid/support/v7/app/AppCompatActivity;->finish()V
.line 2
invoke-direct {p0}, Lcn/m4399/login/union/wo/WoPrivacyContentActivity;->b()Lcn/m4399/login/union/api/LoginUiModel;
move-result-object v0
invoke-virtual {v0}, Lcn/m4399/login/union/api/LoginUiModel;->finishEnterAnimation()I
move-result v0
invoke-direct {p0}, Lcn/m4399/login/union/wo/WoPrivacyContentActivity;->b()Lcn/m4399/login/union/api/LoginUiModel;
move-result-object v1
invoke-virtual {v1}, Lcn/m4399/login/union/api/LoginUiModel;->finishExitAnimation()I
move-result v1
invoke-virtual {p0, v0, v1}, Landroid/support/v7/app/AppCompatActivity;->overridePendingTransition(II)V
return-void
.end method
.method protected onCreate(Landroid/os/Bundle;)V
.locals 0
.line 1
invoke-super {p0, p1}, Landroid/support/v7/app/AppCompatActivity;->onCreate(Landroid/os/Bundle;)V
.line 3
invoke-direct {p0}, Lcn/m4399/login/union/wo/WoPrivacyContentActivity;->b()Lcn/m4399/login/union/api/LoginUiModel;
move-result-object p1
invoke-virtual {p1}, Lcn/m4399/login/union/api/LoginUiModel;->privacyContentActivityLayout()I
move-result p1
invoke-virtual {p0, p1}, Landroid/support/v7/app/AppCompatActivity;->setContentView(I)V
.line 4
invoke-direct {p0}, Lcn/m4399/login/union/wo/WoPrivacyContentActivity;->a()V
return-void
.end method
.method public onDestroy()V
.locals 1
.line 1
invoke-super {p0}, Landroid/support/v7/app/AppCompatActivity;->onDestroy()V
.line 3
sget v0, Lcn/m4399/login/union/R$id;->ct_account_webview:I
invoke-virtual {p0, v0}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View;
move-result-object p0
check-cast p0, Landroid/webkit/WebView;
.line 4
invoke-virtual {p0}, Landroid/webkit/WebView;->clearHistory()V
.line 5
invoke-virtual {p0}, Landroid/webkit/WebView;->clearFormData()V
.line 6
const/4 v0, 0x1
invoke-virtual {p0, v0}, Landroid/webkit/WebView;->clearCache(Z)V
.line 8
invoke-static {}, Landroid/webkit/CookieManager;->getInstance()Landroid/webkit/CookieManager;
move-result-object p0
.line 9
invoke-virtual {p0, v0}, Landroid/webkit/CookieManager;->setAcceptCookie(Z)V
.line 10
invoke-virtual {p0}, Landroid/webkit/CookieManager;->removeSessionCookie()V
.line 11
invoke-virtual {p0}, Landroid/webkit/CookieManager;->removeAllCookie()V
return-void
.end method
.class public Lcom/bxfr2/notification/LocalNotificationManager;
.super Landroid/content/BroadcastReceiver;
.source "LocalNotificationManager.java"
# static fields
.field private static DayTime:I
.field private static m_eventList:Ljava/util/ArrayList;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/ArrayList",
"<",
"Lcom/bxfr2/notification/NotificationInfo;",
">;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.locals 1
.prologue
.line 30
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
sput-object v0, Lcom/bxfr2/notification/LocalNotificationManager;->m_eventList:Ljava/util/ArrayList;
.line 31
const v0, 0x5265c00
sput v0, Lcom/bxfr2/notification/LocalNotificationManager;->DayTime:I
return-void
.end method
.method public constructor <init>()V
.locals 0
.prologue
.line 27
invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V
return-void
.end method
.method public static CancelAlarm(I)V
.locals 5
.param p0, "id" # I
.prologue
.line 310
sget-object v1, Lcom/unity3d/player/UnityPlayer;->currentActivity:Landroid/app/Activity;
.line 311
.local v1, "currentActivity":Landroid/app/Activity;
const-string v4, "alarm"
invoke-virtual {v1, v4}, Landroid/app/Activity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/app/AlarmManager;
.line 312
.local v0, "am":Landroid/app/AlarmManager;
new-instance v2, Landroid/content/Intent;
const-class v4, Lcom/bxfr2/notification/LocalNotificationManager;
invoke-direct {v2, v1, v4}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
.line 313
.local v2, "intent":Landroid/content/Intent;
const/high16 v4, 0x10000000
invoke-static {v1, p0, v2, v4}, Landroid/app/PendingIntent;->getBroadcast(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;
move-result-object v3
.line 314
.local v3, "pendingIntent":Landroid/app/PendingIntent;
if-eqz v3, :cond_0
.line 316
invoke-virtual {v3}, Landroid/app/PendingIntent;->cancel()V
.line 317
invoke-virtual {v0, v3}, Landroid/app/AlarmManager;->cancel(Landroid/app/PendingIntent;)V
.line 319
:cond_0
return-void
.end method
.method public static CancelNotification(I)V
.locals 5
.param p0, "id" # I
.prologue
.line 209
sget-object v1, Lcom/unity3d/player/UnityPlayer;->currentActivity:Landroid/app/Activity;
.line 210
.local v1, "currentActivity":Landroid/app/Activity;
const-string v4, "alarm"
invoke-virtual {v1, v4}, Landroid/app/Activity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/app/AlarmManager;
.line 211
.local v0, "am":Landroid/app/AlarmManager;
new-instance v2, Landroid/content/Intent;
const-class v4, Lcom/bxfr2/notification/LocalNotificationManager;
invoke-direct {v2, v1, v4}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
.line 212
.local v2, "intent":Landroid/content/Intent;
const/high16 v4, 0x10000000
invoke-static {v1, p0, v2, v4}, Landroid/app/PendingIntent;->getBroadcast(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;
move-result-object v3
.line 213
.local v3, "pendingIntent":Landroid/app/PendingIntent;
if-eqz v3, :cond_0
.line 215
invoke-virtual {v3}, Landroid/app/PendingIntent;->cancel()V
.line 216
invoke-virtual {v0, v3}, Landroid/app/AlarmManager;->cancel(Landroid/app/PendingIntent;)V
.line 218
:cond_0
return-void
.end method
.method public static GetCalendarStr(Ljava/util/Calendar;)Ljava/lang/String;
.locals 9
.param p0, "cal" # Ljava/util/Calendar;
.prologue
.line 223
const-string v4, ""
.line 224
.local v4, "ret":Ljava/lang/String;
const/4 v7, 0x1
invoke-virtual {p0, v7}, Ljava/util/Calendar;->get(I)I
move-result v6
.line 225
.local v6, "year":I
const/4 v7, 0x2
invoke-virtual {p0, v7}, Ljava/util/Calendar;->get(I)I
move-result v3
.line 226
.local v3, "month":I
const/4 v7, 0x5
invoke-virtual {p0, v7}, Ljava/util/Calendar;->get(I)I
move-result v0
.line 227
.local v0, "day":I
const/16 v7, 0xa
invoke-virtual {p0, v7}, Ljava/util/Calendar;->get(I)I
move-result v1
.line 228
.local v1, "hour":I
const/16 v7, 0xc
invoke-virtual {p0, v7}, Ljava/util/Calendar;->get(I)I
move-result v2
.line 229
.local v2, "min":I
const/16 v7, 0xd
invoke-virtual {p0, v7}, Ljava/util/Calendar;->get(I)I
move-result v5
.line 230
.local v5, "sec":I
new-instance v7, Ljava/lang/StringBuilder;
invoke-static {v6}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object v8
invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
const-string v8, "\u5e74"
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v7
invoke-virtual {v7, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v7
const-string v8, "\u6708"
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v7
invoke-virtual {v7, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v7
const-string v8, "\u65e5"
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v7
invoke-virtual {v7, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v7
const-string v8, "\u65f6"
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v7
invoke-virtual {v7, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v7
const-string v8, "\u5206"
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v7
invoke-virtual {v7, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v7
const-string v8, "\u79d2"
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v7
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v7
return-object v7
.end method
.method public static SetAlarm(IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.locals 11
.param p0, "id" # I
.param p1, "seconds" # I
.param p2, "title" # Ljava/lang/String;
.param p3, "content" # Ljava/lang/String;
.param p4, "ticker" # Ljava/lang/String;
.prologue
const/4 v9, 0x1
const/4 v10, 0x0
.line 236
invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;
move-result-object v1
.line 237
.local v1, "cal":Ljava/util/Calendar;
invoke-static {v1}, Lcom/bxfr2/notification/LocalNotificationManager;->GetCalendarStr(Ljava/util/Calendar;)Ljava/lang/String;
move-result-object v2
.line 238
.local v2, "curStr":Ljava/lang/String;
new-instance v7, Ljava/lang/StringBuilder;
const-string v8, "\u672c\u5730\u5b9a\u65f6\u5668:id="
invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v7, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v7
const-string v8, ",curStr="
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v7
invoke-virtual {v7, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v7
const-string v8, ",addSeconds="
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v7
invoke-virtual {v7, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v7
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v7
invoke-static {v7}, Lcom/bxfr2/notification/LocalNotificationManager;->ShowLog(Ljava/lang/String;)V
.line 240
const/16 v7, 0xd
invoke-virtual {v1, v7, p1}, Ljava/util/Calendar;->add(II)V
.line 241
invoke-static {v1}, Lcom/bxfr2/notification/LocalNotificationManager;->GetCalendarStr(Ljava/util/Calendar;)Ljava/lang/String;
move-result-object v5
.line 242
.local v5, "nextStr":Ljava/lang/String;
new-instance v7, Ljava/lang/StringBuilder;
const-string v8, "\u672c\u5730\u5b9a\u65f6\u5668:id="
invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v7, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v7
const-string v8, ",nextStr:"
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v7
invoke-virtual {v7, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v7
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v7
invoke-static {v7}, Lcom/bxfr2/notification/LocalNotificationManager;->ShowLog(Ljava/lang/String;)V
.line 244
sget-object v3, Lcom/unity3d/player/UnityPlayer;->currentActivity:Landroid/app/Activity;
.line 245
.local v3, "currentActivity":Landroid/app/Activity;
new-instance v4, Landroid/content/Intent;
const-class v7, Lcom/bxfr2/notification/LocalNotificationManager;
invoke-direct {v4, v3, v7}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
.line 246
.local v4, "intent":Landroid/content/Intent;
const-string v7, "id"
invoke-virtual {v4, v7, p0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;
.line 247
const-string v7, "title"
invoke-virtual {v4, v7, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 248
const-string v7, "content"
invoke-virtual {v4, v7, p3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 249
const-string v7, "ticker"
invoke-virtual {v4, v7, p4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 250
const-string v7, "color"
const v8, 0x10100
invoke-virtual {v4, v7, v8}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;
.line 251
const-string v7, "sound"
invoke-virtual {v4, v7, v9}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
.line 252
const-string v7, "vibrate"
invoke-virtual {v4, v7, v9}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
.line 253
const-string v7, "lights"
invoke-virtual {v4, v7, v9}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
.line 254
const-string v7, "l_icon"
const-string v8, ""
invoke-virtual {v4, v7, v8}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 255
const-string v7, "s_icon"
const-string v8, ""
invoke-virtual {v4, v7, v8}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 256
const-string v7, "activity"
const-string v8, "com.bxfr2.unity.MainActivity"
invoke-virtual {v4, v7, v8}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 260
invoke-static {v3, p0, v4, v10}, Landroid/app/PendingIntent;->getBroadcast(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;
move-result-object v6
.line 261
.local v6, "pendingIntent":Landroid/app/PendingIntent;
const-string v7, "alarm"
invoke-virtual {v3, v7}, Landroid/app/Activity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/app/AlarmManager;
.line 264
.local v0, "am":Landroid/app/AlarmManager;
sget v7, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v8, 0x13
if-lt v7, v8, :cond_0
.line 266
invoke-virtual {v1}, Ljava/util/Calendar;->getTimeInMillis()J
move-result-wide v8
invoke-virtual {v0, v10, v8, v9, v6}, Landroid/app/AlarmManager;->setExact(IJLandroid/app/PendingIntent;)V
.line 272
:goto_0
return-void
.line 270
:cond_0
invoke-virtual {v1}, Ljava/util/Calendar;->getTimeInMillis()J
move-result-wide v8
invoke-virtual {v0, v10, v8, v9, v6}, Landroid/app/AlarmManager;->set(IJLandroid/app/PendingIntent;)V
goto :goto_0
.end method
.method public static SetAlarmCycle(IIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.locals 14
.param p0, "id" # I
.param p1, "seconds" # I
.param p2, "interval" # I
.param p3, "title" # Ljava/lang/String;
.param p4, "content" # Ljava/lang/String;
.param p5, "ticker" # Ljava/lang/String;
.prologue
.line 278
invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;
move-result-object v9
.line 279
.local v9, "cal":Ljava/util/Calendar;
invoke-static {v9}, Lcom/bxfr2/notification/LocalNotificationManager;->GetCalendarStr(Ljava/util/Calendar;)Ljava/lang/String;
move-result-object v10
.line 280
.local v10, "curStr":Ljava/lang/String;
new-instance v3, Ljava/lang/StringBuilder;
const-string v4, "\u672c\u5730\u5b9a\u65f6\u5668:id="
invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v3, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v3
const-string v4, ",curStr="
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v3
invoke-virtual {v3, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v3
const-string v4, ",addSeconds="
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v3
invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v3
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v3
invoke-static {v3}, Lcom/bxfr2/notification/LocalNotificationManager;->ShowLog(Ljava/lang/String;)V
.line 282
const/16 v3, 0xd
invoke-virtual {v9, v3, p1}, Ljava/util/Calendar;->add(II)V
.line 283
invoke-static {v9}, Lcom/bxfr2/notification/LocalNotificationManager;->GetCalendarStr(Ljava/util/Calendar;)Ljava/lang/String;
move-result-object v13
.line 284
.local v13, "nextStr":Ljava/lang/String;
new-instance v3, Ljava/lang/StringBuilder;
const-string v4, "\u672c\u5730\u5b9a\u65f6\u5668:id="
invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v3, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v3
const-string v4, ",nextStr:"
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v3
invoke-virtual {v3, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v3
const-string v4, ",interval="
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v3
move/from16 v0, p2
invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v3
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v3
invoke-static {v3}, Lcom/bxfr2/notification/LocalNotificationManager;->ShowLog(Ljava/lang/String;)V
.line 287
sget-object v11, Lcom/unity3d/player/UnityPlayer;->currentActivity:Landroid/app/Activity;
.line 288
.local v11, "currentActivity":Landroid/app/Activity;
new-instance v12, Landroid/content/Intent;
const-class v3, Lcom/bxfr2/notification/LocalNotificationManager;
invoke-direct {v12, v11, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
.line 289
.local v12, "intent":Landroid/content/Intent;
const-string v3, "id"
invoke-virtual {v12, v3, p0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;
.line 290
const-string v3, "title"
move-object/from16 v0, p3
invoke-virtual {v12, v3, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 291
const-string v3, "content"
move-object/from16 v0, p4
invoke-virtual {v12, v3, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 292
const-string v3, "ticker"
move-object/from16 v0, p5
invoke-virtual {v12, v3, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 293
const-string v3, "color"
const v4, 0x10100
invoke-virtual {v12, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;
.line 294
const-string v3, "sound"
const/4 v4, 0x1
invoke-virtual {v12, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
.line 295
const-string v3, "vibrate"
const/4 v4, 0x1
invoke-virtual {v12, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
.line 296
const-string v3, "lights"
const/4 v4, 0x1
invoke-virtual {v12, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
.line 297
const-string v3, "l_icon"
const-string v4, ""
invoke-virtual {v12, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 298
const-string v3, "s_icon"
const-string v4, ""
invoke-virtual {v12, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 299
const-string v3, "activity"
const-string v4, "com.bxfr2.unity.MainActivity"
invoke-virtual {v12, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 302
const/4 v3, 0x0
invoke-static {v11, p0, v12, v3}, Landroid/app/PendingIntent;->getBroadcast(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;
move-result-object v8
.line 303
.local v8, "pendingIntent":Landroid/app/PendingIntent;
const-string v3, "alarm"
invoke-virtual {v11, v3}, Landroid/app/Activity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroid/app/AlarmManager;
.line 304
.local v2, "am":Landroid/app/AlarmManager;
const/4 v3, 0x0
invoke-virtual {v9}, Ljava/util/Calendar;->getTimeInMillis()J
move-result-wide v4
move/from16 v0, p2
mul-int/lit16 v6, v0, 0x3e8
int-to-long v6, v6
invoke-virtual/range {v2 .. v8}, Landroid/app/AlarmManager;->setRepeating(IJJLandroid/app/PendingIntent;)V
.line 305
return-void
.end method
.method public static SetNotification(ILjava/lang/String;JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;IIILjava/lang/String;Ljava/lang/String;I)V
.locals 10
.param p0, "id" # I
.param p1, "unityClass" # Ljava/lang/String;
.param p2, "delay" # J
.param p4, "title" # Ljava/lang/String;
.param p5, "message" # Ljava/lang/String;
.param p6, "ticker" # Ljava/lang/String;
.param p7, "sound" # I
.param p8, "vibrate" # I
.param p9, "lights" # I
.param p10, "largeIconResource" # Ljava/lang/String;
.param p11, "smallIconResource" # Ljava/lang/String;
.param p12, "bgColor" # I
.prologue
.line 43
sget-object v3, Lcom/unity3d/player/UnityPlayer;->currentActivity:Landroid/app/Activity;
.line 44
.local v3, "currentActivity":Landroid/app/Activity;
const-string v6, "alarm"
invoke-virtual {v3, v6}, Landroid/app/Activity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroid/app/AlarmManager;
.line 45
.local v2, "am":Landroid/app/AlarmManager;
new-instance v4, Landroid/content/Intent;
const-class v6, Lcom/bxfr2/notification/LocalNotificationManager;
invoke-direct {v4, v3, v6}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
.line 46
.local v4, "intent":Landroid/content/Intent;
const-string v6, "ticker"
move-object/from16 v0, p6
invoke-virtual {v4, v6, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 47
const-string v6, "title"
invoke-virtual {v4, v6, p4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 48
const-string v6, "content"
invoke-virtual {v4, v6, p5}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 49
const-string v6, "id"
invoke-virtual {v4, v6, p0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;
.line 50
const-string v6, "color"
move/from16 v0, p12
invoke-virtual {v4, v6, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;
.line 51
const-string v7, "sound"
const/4 v6, 0x1
move/from16 v0, p7
if-ne v0, v6, :cond_0
const/4 v6, 0x1
:goto_0
invoke-virtual {v4, v7, v6}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
.line 52
const-string v7, "vibrate"
const/4 v6, 0x1
move/from16 v0, p8
if-ne v0, v6, :cond_1
const/4 v6, 0x1
:goto_1
invoke-virtual {v4, v7, v6}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
.line 53
const-string v7, "lights"
const/4 v6, 0x1
move/from16 v0, p9
if-ne v0, v6, :cond_2
const/4 v6, 0x1
:goto_2
invoke-virtual {v4, v7, v6}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
.line 54
const-string v6, "l_icon"
move-object/from16 v0, p10
invoke-virtual {v4, v6, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 55
const-string v6, "s_icon"
move-object/from16 v0, p11
invoke-virtual {v4, v6, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 56
const-string v6, "activity"
invoke-virtual {v4, v6, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 58
const/4 v6, 0x0
invoke-static {v3, p0, v4, v6}, Landroid/app/PendingIntent;->getBroadcast(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;
move-result-object v5
.line 59
.local v5, "pendingIntent":Landroid/app/PendingIntent;
sget v6, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v7, 0x13
if-lt v6, v7, :cond_3
.line 61
const/4 v6, 0x0
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v8
add-long/2addr v8, p2
invoke-virtual {v2, v6, v8, v9, v5}, Landroid/app/AlarmManager;->setExact(IJLandroid/app/PendingIntent;)V
.line 67
:goto_3
return-void
.line 51
.end local v5 # "pendingIntent":Landroid/app/PendingIntent;
:cond_0
const/4 v6, 0x0
goto :goto_0
.line 52
:cond_1
const/4 v6, 0x0
goto :goto_1
.line 53
:cond_2
const/4 v6, 0x0
goto :goto_2
.line 65
.restart local v5 # "pendingIntent":Landroid/app/PendingIntent;
:cond_3
const/4 v6, 0x0
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v8
add-long/2addr v8, p2
invoke-virtual {v2, v6, v8, v9, v5}, Landroid/app/AlarmManager;->set(IJLandroid/app/PendingIntent;)V
goto :goto_3
.end method
.method public static SetRepeatingNotification(ILjava/lang/String;JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;JIIILjava/lang/String;Ljava/lang/String;I)V
.locals 11
.param p0, "id" # I
.param p1, "unityClass" # Ljava/lang/String;
.param p2, "delay" # J
.param p4, "title" # Ljava/lang/String;
.param p5, "message" # Ljava/lang/String;
.param p6, "ticker" # Ljava/lang/String;
.param p7, "rep" # J
.param p9, "sound" # I
.param p10, "vibrate" # I
.param p11, "lights" # I
.param p12, "largeIconResource" # Ljava/lang/String;
.param p13, "smallIconResource" # Ljava/lang/String;
.param p14, "bgColor" # I
.prologue
.line 72
sget-object v9, Lcom/unity3d/player/UnityPlayer;->currentActivity:Landroid/app/Activity;
.line 73
.local v9, "currentActivity":Landroid/app/Activity;
const-string v3, "alarm"
invoke-virtual {v9, v3}, Landroid/app/Activity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroid/app/AlarmManager;
.line 74
.local v2, "am":Landroid/app/AlarmManager;
new-instance v10, Landroid/content/Intent;
const-class v3, Lcom/bxfr2/notification/LocalNotificationManager;
invoke-direct {v10, v9, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
.line 75
.local v10, "intent":Landroid/content/Intent;
const-string v3, "ticker"
move-object/from16 v0, p6
invoke-virtual {v10, v3, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 76
const-string v3, "title"
invoke-virtual {v10, v3, p4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 77
const-string v3, "content"
move-object/from16 v0, p5
invoke-virtual {v10, v3, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 78
const-string v3, "id"
invoke-virtual {v10, v3, p0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;
.line 79
const-string v3, "color"
move/from16 v0, p14
invoke-virtual {v10, v3, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;
.line 80
const-string v4, "sound"
const/4 v3, 0x1
move/from16 v0, p9
if-ne v0, v3, :cond_0
const/4 v3, 0x1
:goto_0
invoke-virtual {v10, v4, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
.line 81
const-string v4, "vibrate"
const/4 v3, 0x1
move/from16 v0, p10
if-ne v0, v3, :cond_1
const/4 v3, 0x1
:goto_1
invoke-virtual {v10, v4, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
.line 82
const-string v4, "lights"
const/4 v3, 0x1
move/from16 v0, p11
if-ne v0, v3, :cond_2
const/4 v3, 0x1
:goto_2
invoke-virtual {v10, v4, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
.line 83
const-string v3, "l_icon"
move-object/from16 v0, p12
invoke-virtual {v10, v3, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 84
const-string v3, "s_icon"
move-object/from16 v0, p13
invoke-virtual {v10, v3, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 85
const-string v3, "activity"
invoke-virtual {v10, v3, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 86
const/4 v3, 0x0
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v4
add-long/2addr v4, p2
const/4 v6, 0x0
invoke-static {v9, p0, v10, v6}, Landroid/app/PendingIntent;->getBroadcast(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;
move-result-object v8
move-wide/from16 v6, p7
invoke-virtual/range {v2 .. v8}, Landroid/app/AlarmManager;->setRepeating(IJJLandroid/app/PendingIntent;)V
.line 87
return-void
.line 80
:cond_0
const/4 v3, 0x0
goto :goto_0
.line 81
:cond_1
const/4 v3, 0x0
goto :goto_1
.line 82
:cond_2
const/4 v3, 0x0
goto :goto_2
.end method
.method private static ShowLog(Ljava/lang/String;)V
.locals 1
.param p0, "str" # Ljava/lang/String;
.prologue
.line 36
const-string v0, "Unity"
invoke-static {v0, p0}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
.line 37
return-void
.end method
# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
.locals 27
.param p1, "context" # Landroid/content/Context;
.param p2, "intent" # Landroid/content/Intent;
.prologue
.line 94
const-string v24, "ticker"
move-object/from16 v0, p2
move-object/from16 v1, v24
invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
move-result-object v19
.line 95
.local v19, "ticker":Ljava/lang/String;
const-string v24, "s_icon"
move-object/from16 v0, p2
move-object/from16 v1, v24
invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
move-result-object v17
.line 96
.local v17, "s_icon":Ljava/lang/String;
const-string v24, "l_icon"
move-object/from16 v0, p2
move-object/from16 v1, v24
invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
move-result-object v10
.line 97
.local v10, "l_icon":Ljava/lang/String;
const-string v24, "color"
const/16 v25, 0x0
move-object/from16 v0, p2
move-object/from16 v1, v24
move/from16 v2, v25
invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I
move-result v6
.line 98
.local v6, "color":I
const-string v24, "sound"
const/16 v25, 0x0
move-object/from16 v0, p2
move-object/from16 v1, v24
move/from16 v2, v25
invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z
move-result v24
invoke-static/range {v24 .. v24}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v18
.line 99
.local v18, "sound":Ljava/lang/Boolean;
const-string v24, "vibrate"
const/16 v25, 0x0
move-object/from16 v0, p2
move-object/from16 v1, v24
move/from16 v2, v25
invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z
move-result v24
invoke-static/range {v24 .. v24}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v23
.line 100
.local v23, "vibrate":Ljava/lang/Boolean;
const-string v24, "lights"
const/16 v25, 0x0
move-object/from16 v0, p2
move-object/from16 v1, v24
move/from16 v2, v25
invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z
move-result v24
invoke-static/range {v24 .. v24}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v11
.line 103
.local v11, "lights":Ljava/lang/Boolean;
const-string v24, "activity"
move-object/from16 v0, p2
move-object/from16 v1, v24
invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
move-result-object v21
.line 104
.local v21, "unityClass":Ljava/lang/String;
const-string v24, "title"
move-object/from16 v0, p2
move-object/from16 v1, v24
invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
move-result-object v20
.line 105
.local v20, "title":Ljava/lang/String;
const-string v24, "content"
move-object/from16 v0, p2
move-object/from16 v1, v24
invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
move-result-object v12
.line 108
.local v12, "message":Ljava/lang/String;
const-string v24, "id"
const/16 v25, 0x0
move-object/from16 v0, p2
move-object/from16 v1, v24
move/from16 v2, v25
invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I
move-result v9
.line 109
.local v9, "id":I
invoke-virtual/range {p1 .. p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
move-result-object v16
.line 112
.local v16, "res":Landroid/content/res/Resources;
if-eqz v21, :cond_0
const-string v24, ""
move-object/from16 v0, v21
move-object/from16 v1, v24
if-eq v0, v1, :cond_0
if-nez v9, :cond_1
.line 114
:cond_0
const-string v24, "unityClass = null or id = 0"
invoke-static/range {v24 .. v24}, Lcom/bxfr2/notification/LocalNotificationManager;->ShowLog(Ljava/lang/String;)V
.line 204
:goto_0
return-void
.line 118
:cond_1
const/16 v22, 0x0
.line 120
.local v22, "unityClassActivity":Ljava/lang/Class;, "Ljava/lang/Class<*>;"
:try_start_0
invoke-static/range {v21 .. v21}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
:try_end_0
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_1
move-result-object v22
.line 126
:goto_1
const-string v24, "notification"
move-object/from16 v0, p1
move-object/from16 v1, v24
invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v15
check-cast v15, Landroid/app/NotificationManager;
.line 127
.local v15, "notificationManager":Landroid/app/NotificationManager;
new-instance v24, Landroid/content/Intent;
move-object/from16 v0, v24
move-object/from16 v1, p1
move-object/from16 v2, v22
invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
const/high16 v25, 0x10000000
invoke-virtual/range {v24 .. v25}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;
move-result-object v14
.line 128
.local v14, "notificationIntent":Landroid/content/Intent;
const/16 v24, 0x0
const/16 v25, 0x0
move-object/from16 v0, p1
move/from16 v1, v24
move/from16 v2, v25
invoke-static {v0, v1, v14, v2}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;
move-result-object v7
.line 131
.local v7, "contentIntent":Landroid/app/PendingIntent;
const/4 v13, 0x0
.line 132
.local v13, "notification":Landroid/app/Notification;
sget v24, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v25, 0x1a
move/from16 v0, v24
move/from16 v1, v25
if-lt v0, v1, :cond_5
.line 134
new-instance v5, Landroid/app/NotificationChannel;
const-string v24, "default"
const-string v25, "Default Channel"
const/16 v26, 0x3
move-object/from16 v0, v24
move-object/from16 v1, v25
move/from16 v2, v26
invoke-direct {v5, v0, v1, v2}, Landroid/app/NotificationChannel;-><init>(Ljava/lang/String;Ljava/lang/CharSequence;I)V
.line 135
.local v5, "channel":Landroid/app/NotificationChannel;
invoke-virtual {v15, v5}, Landroid/app/NotificationManager;->createNotificationChannel(Landroid/app/NotificationChannel;)V
.line 138
new-instance v4, Landroid/app/Notification$Builder;
const-string v24, "default"
move-object/from16 v0, p1
move-object/from16 v1, v24
invoke-direct {v4, v0, v1}, Landroid/app/Notification$Builder;-><init>(Landroid/content/Context;Ljava/lang/String;)V
.line 139
.local v4, "builder":Landroid/app/Notification$Builder;
move-object/from16 v0, v20
invoke-virtual {v4, v0}, Landroid/app/Notification$Builder;->setContentTitle(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;
.line 140
invoke-virtual {v4, v12}, Landroid/app/Notification$Builder;->setContentText(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;
.line 141
const/16 v24, 0x1
move/from16 v0, v24
invoke-virtual {v4, v0}, Landroid/app/Notification$Builder;->setNumber(I)Landroid/app/Notification$Builder;
.line 142
const/16 v24, 0x1
move/from16 v0, v24
invoke-virtual {v4, v0}, Landroid/app/Notification$Builder;->setAutoCancel(Z)Landroid/app/Notification$Builder;
.line 143
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v24
move-wide/from16 v0, v24
invoke-virtual {v4, v0, v1}, Landroid/app/Notification$Builder;->setWhen(J)Landroid/app/Notification$Builder;
.line 144
invoke-virtual {v4, v7}, Landroid/app/Notification$Builder;->setContentIntent(Landroid/app/PendingIntent;)Landroid/app/Notification$Builder;
.line 147
if-eqz v19, :cond_2
invoke-virtual/range {v19 .. v19}, Ljava/lang/String;->length()I
move-result v24
if-lez v24, :cond_2
.line 148
move-object/from16 v0, v19
invoke-virtual {v4, v0}, Landroid/app/Notification$Builder;->setTicker(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;
.line 150
:cond_2
if-eqz v17, :cond_3
invoke-virtual/range {v17 .. v17}, Ljava/lang/String;->length()I
move-result v24
if-lez v24, :cond_3
.line 151
const-string v24, "drawable"
invoke-virtual/range {p1 .. p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
move-result-object v25
move-object/from16 v0, v16
move-object/from16 v1, v17
move-object/from16 v2, v24
move-object/from16 v3, v25
invoke-virtual {v0, v1, v2, v3}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
move-result v24
move/from16 v0, v24
invoke-virtual {v4, v0}, Landroid/app/Notification$Builder;->setSmallIcon(I)Landroid/app/Notification$Builder;
.line 153
:cond_3
if-eqz v10, :cond_4
invoke-virtual {v10}, Ljava/lang/String;->length()I
move-result v24
if-lez v24, :cond_4
.line 154
const-string v24, "drawable"
invoke-virtual/range {p1 .. p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
move-result-object v25
move-object/from16 v0, v16
move-object/from16 v1, v24
move-object/from16 v2, v25
invoke-virtual {v0, v10, v1, v2}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
move-result v24
move-object/from16 v0, v16
move/from16 v1, v24
invoke-static {v0, v1}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;
move-result-object v24
move-object/from16 v0, v24
invoke-virtual {v4, v0}, Landroid/app/Notification$Builder;->setLargeIcon(Landroid/graphics/Bitmap;)Landroid/app/Notification$Builder;
.line 157
:cond_4
invoke-virtual {v4}, Landroid/app/Notification$Builder;->build()Landroid/app/Notification;
move-result-object v13
.line 198
.end local v4 # "builder":Landroid/app/Notification$Builder;
.end local v5 # "channel":Landroid/app/NotificationChannel;
:goto_2
:try_start_1
invoke-virtual {v15, v9, v13}, Landroid/app/NotificationManager;->notify(ILandroid/app/Notification;)V
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
goto/16 :goto_0
.line 200
:catch_0
move-exception v8
.line 202
.local v8, "e":Ljava/lang/Exception;
invoke-virtual {v8}, Ljava/lang/Exception;->printStackTrace()V
goto/16 :goto_0
.line 121
.end local v7 # "contentIntent":Landroid/app/PendingIntent;
.end local v8 # "e":Ljava/lang/Exception;
.end local v13 # "notification":Landroid/app/Notification;
.end local v14 # "notificationIntent":Landroid/content/Intent;
.end local v15 # "notificationManager":Landroid/app/NotificationManager;
:catch_1
move-exception v8
.line 122
.local v8, "e":Ljava/lang/ClassNotFoundException;
invoke-virtual {v8}, Ljava/lang/ClassNotFoundException;->printStackTrace()V
goto/16 :goto_1
.line 163
.end local v8 # "e":Ljava/lang/ClassNotFoundException;
.restart local v7 # "contentIntent":Landroid/app/PendingIntent;
.restart local v13 # "notification":Landroid/app/Notification;
.restart local v14 # "notificationIntent":Landroid/content/Intent;
.restart local v15 # "notificationManager":Landroid/app/NotificationManager;
:cond_5
new-instance v4, Landroid/support/v4/app/NotificationCompat$Builder;
move-object/from16 v0, p1
invoke-direct {v4, v0}, Landroid/support/v4/app/NotificationCompat$Builder;-><init>(Landroid/content/Context;)V
.line 164
.local v4, "builder":Landroid/support/v4/app/NotificationCompat$Builder;
move-object/from16 v0, v20
invoke-virtual {v4, v0}, Landroid/support/v4/app/NotificationCompat$Builder;->setContentTitle(Ljava/lang/CharSequence;)Landroid/support/v4/app/NotificationCompat$Builder;
.line 165
invoke-virtual {v4, v12}, Landroid/support/v4/app/NotificationCompat$Builder;->setContentText(Ljava/lang/CharSequence;)Landroid/support/v4/app/NotificationCompat$Builder;
.line 166
const/16 v24, 0x1
move/from16 v0, v24
invoke-virtual {v4, v0}, Landroid/support/v4/app/NotificationCompat$Builder;->setNumber(I)Landroid/support/v4/app/NotificationCompat$Builder;
.line 167
const/16 v24, 0x1
move/from16 v0, v24
invoke-virtual {v4, v0}, Landroid/support/v4/app/NotificationCompat$Builder;->setAutoCancel(Z)Landroid/support/v4/app/NotificationCompat$Builder;
.line 168
const/16 v24, -0x1
move/from16 v0, v24
invoke-virtual {v4, v0}, Landroid/support/v4/app/NotificationCompat$Builder;->setDefaults(I)Landroid/support/v4/app/NotificationCompat$Builder;
.line 169
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v24
move-wide/from16 v0, v24
invoke-virtual {v4, v0, v1}, Landroid/support/v4/app/NotificationCompat$Builder;->setWhen(J)Landroid/support/v4/app/NotificationCompat$Builder;
.line 170
invoke-virtual {v4, v7}, Landroid/support/v4/app/NotificationCompat$Builder;->setContentIntent(Landroid/app/PendingIntent;)Landroid/support/v4/app/NotificationCompat$Builder;
.line 173
if-eqz v19, :cond_6
invoke-virtual/range {v19 .. v19}, Ljava/lang/String;->length()I
move-result v24
if-lez v24, :cond_6
.line 174
move-object/from16 v0, v19
invoke-virtual {v4, v0}, Landroid/support/v4/app/NotificationCompat$Builder;->setTicker(Ljava/lang/CharSequence;)Landroid/support/v4/app/NotificationCompat$Builder;
.line 176
:cond_6
if-eqz v17, :cond_7
invoke-virtual/range {v17 .. v17}, Ljava/lang/String;->length()I
move-result v24
if-lez v24, :cond_7
.line 177
const-string v24, "drawable"
invoke-virtual/range {p1 .. p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
move-result-object v25
move-object/from16 v0, v16
move-object/from16 v1, v17
move-object/from16 v2, v24
move-object/from16 v3, v25
invoke-virtual {v0, v1, v2, v3}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
move-result v24
move/from16 v0, v24
invoke-virtual {v4, v0}, Landroid/support/v4/app/NotificationCompat$Builder;->setSmallIcon(I)Landroid/support/v4/app/NotificationCompat$Builder;
.line 179
:cond_7
if-eqz v10, :cond_8
invoke-virtual {v10}, Ljava/lang/String;->length()I
move-result v24
if-lez v24, :cond_8
.line 180
const-string v24, "drawable"
invoke-virtual/range {p1 .. p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
move-result-object v25
move-object/from16 v0, v16
move-object/from16 v1, v24
move-object/from16 v2, v25
invoke-virtual {v0, v10, v1, v2}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
move-result v24
move-object/from16 v0, v16
move/from16 v1, v24
invoke-static {v0, v1}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;
move-result-object v24
move-object/from16 v0, v24
invoke-virtual {v4, v0}, Landroid/support/v4/app/NotificationCompat$Builder;->setLargeIcon(Landroid/graphics/Bitmap;)Landroid/support/v4/app/NotificationCompat$Builder;
.line 182
:cond_8
invoke-virtual/range {v18 .. v18}, Ljava/lang/Boolean;->booleanValue()Z
move-result v24
if-eqz v24, :cond_9
.line 183
const/16 v24, 0x2
invoke-static/range {v24 .. v24}, Landroid/media/RingtoneManager;->getDefaultUri(I)Landroid/net/Uri;
move-result-object v24
move-object/from16 v0, v24
invoke-virtual {v4, v0}, Landroid/support/v4/app/NotificationCompat$Builder;->setSound(Landroid/net/Uri;)Landroid/support/v4/app/NotificationCompat$Builder;
.line 185
:cond_9
invoke-virtual/range {v23 .. v23}, Ljava/lang/Boolean;->booleanValue()Z
move-result v24
if-eqz v24, :cond_a
.line 186
const/16 v24, 0x2
move/from16 v0, v24
new-array v0, v0, [J
move-object/from16 v24, v0
fill-array-data v24, :array_0
move-object/from16 v0, v24
invoke-virtual {v4, v0}, Landroid/support/v4/app/NotificationCompat$Builder;->setVibrate([J)Landroid/support/v4/app/NotificationCompat$Builder;
.line 190
:cond_a
invoke-virtual {v11}, Ljava/lang/Boolean;->booleanValue()Z
move-result v24
if-eqz v24, :cond_b
.line 191
const v24, -0xff0100
const/16 v25, 0xbb8
const/16 v26, 0xbb8
move/from16 v0, v24
move/from16 v1, v25
move/from16 v2, v26
invoke-virtual {v4, v0, v1, v2}, Landroid/support/v4/app/NotificationCompat$Builder;->setLights(III)Landroid/support/v4/app/NotificationCompat$Builder;
.line 194
:cond_b
invoke-virtual {v4}, Landroid/support/v4/app/NotificationCompat$Builder;->build()Landroid/app/Notification;
move-result-object v13
goto/16 :goto_2
.line 186
nop
:array_0
.array-data 8
0x3e8
0x3e8
.end array-data
.end method
.class public Lcom/ssjjsy/sdk/SdkReceiver;
.super Landroid/content/BroadcastReceiver;
# static fields
.field private static final b:[I
# instance fields
.field private a:[Lcom/ssjjsy/net/o;
# direct methods
.method static constructor <clinit>()V
.locals 2
const/4 v0, 0x1
new-array v0, v0, [I
const/4 v1, 0x0
aput v1, v0, v1
sput-object v0, Lcom/ssjjsy/sdk/SdkReceiver;->b:[I
return-void
.end method
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V
const/4 v0, 0x0
iput-object v0, p0, Lcom/ssjjsy/sdk/SdkReceiver;->a:[Lcom/ssjjsy/net/o;
const-string p0, "sdk"
const-string v0, "SdkReceiver()"
invoke-static {p0, v0}, Lcom/ssjjsy/net/DebugUtil;->dev(Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method
# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
.locals 8
iget-object v0, p0, Lcom/ssjjsy/sdk/SdkReceiver;->a:[Lcom/ssjjsy/net/o;
const/4 v1, 0x0
if-nez v0, :cond_0
sget-object v0, Lcom/ssjjsy/sdk/SdkReceiver;->b:[I
array-length v0, v0
new-array v0, v0, [Lcom/ssjjsy/net/o;
iput-object v0, p0, Lcom/ssjjsy/sdk/SdkReceiver;->a:[Lcom/ssjjsy/net/o;
move v0, v1
:goto_0
sget-object v2, Lcom/ssjjsy/sdk/SdkReceiver;->b:[I
array-length v2, v2
if-ge v0, v2, :cond_0
iget-object v2, p0, Lcom/ssjjsy/sdk/SdkReceiver;->a:[Lcom/ssjjsy/net/o;
sget-object v3, Lcom/ssjjsy/sdk/SdkReceiver;->b:[I
aget v3, v3, v0
invoke-static {p1, p0, v3}, Lcom/ssjjsy/net/o;->a(Landroid/content/Context;Landroid/content/BroadcastReceiver;I)Lcom/ssjjsy/net/o;
move-result-object v3
aput-object v3, v2, v0
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
const-string v0, "sdk"
const-string v2, "onReceive"
invoke-static {v0, v2}, Lcom/ssjjsy/net/DebugUtil;->dev(Ljava/lang/String;Ljava/lang/String;)V
move v0, v1
:goto_1
sget-object v2, Lcom/ssjjsy/sdk/SdkReceiver;->b:[I
array-length v2, v2
if-ge v0, v2, :cond_1
iget-object v2, p0, Lcom/ssjjsy/sdk/SdkReceiver;->a:[Lcom/ssjjsy/net/o;
aget-object v2, v2, v0
const-string v3, "onReceive"
const/4 v4, 0x2
new-array v5, v4, [Ljava/lang/Class;
const-class v6, Landroid/content/Context;
aput-object v6, v5, v1
const-class v6, Landroid/content/Intent;
const/4 v7, 0x1
aput-object v6, v5, v7
new-array v4, v4, [Ljava/lang/Object;
aput-object p1, v4, v1
aput-object p2, v4, v7
invoke-virtual {v2, v3, v5, v4}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)V
add-int/lit8 v0, v0, 0x1
goto :goto_1
:cond_1
return-void
.end method
.class public Lcom/ssjjsy/sdk/SdkService;
.super Landroid/app/Service;
# static fields
.field private static final b:[I
# instance fields
.field private a:[Lcom/ssjjsy/net/o;
# direct methods
.method static constructor <clinit>()V
.locals 2
const/4 v0, 0x1
new-array v0, v0, [I
const/4 v1, 0x0
aput v1, v0, v1
sput-object v0, Lcom/ssjjsy/sdk/SdkService;->b:[I
return-void
.end method
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Landroid/app/Service;-><init>()V
const/4 v0, 0x0
iput-object v0, p0, Lcom/ssjjsy/sdk/SdkService;->a:[Lcom/ssjjsy/net/o;
return-void
.end method
# virtual methods
.method public onBind(Landroid/content/Intent;)Landroid/os/IBinder;
.locals 8
const-string v0, "sdk"
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "onBind, "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Lcom/ssjjsy/net/DebugUtil;->dev(Ljava/lang/String;Ljava/lang/String;)V
const/4 v0, 0x0
const/4 v1, 0x0
move-object v2, v0
move v0, v1
:goto_0
sget-object v3, Lcom/ssjjsy/sdk/SdkService;->b:[I
array-length v3, v3
if-ge v0, v3, :cond_1
iget-object v3, p0, Lcom/ssjjsy/sdk/SdkService;->a:[Lcom/ssjjsy/net/o;
aget-object v3, v3, v0
const-string v4, "onBind"
const/4 v5, 0x1
new-array v6, v5, [Ljava/lang/Class;
const-class v7, Landroid/content/Intent;
aput-object v7, v6, v1
new-array v5, v5, [Ljava/lang/Object;
aput-object p1, v5, v1
invoke-virtual {v3, v4, v6, v5}, Lcom/ssjjsy/net/o;->b(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
check-cast v3, Landroid/os/IBinder;
if-eqz v3, :cond_0
move-object v2, v3
:cond_0
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
const-string p0, "sdk"
new-instance p1, Ljava/lang/StringBuilder;
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
const-string v0, "onBind, binder = "
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-static {p0, p1}, Lcom/ssjjsy/net/DebugUtil;->dev(Ljava/lang/String;Ljava/lang/String;)V
return-object v2
.end method
.method public onConfigurationChanged(Landroid/content/res/Configuration;)V
.locals 7
invoke-super {p0, p1}, Landroid/app/Service;->onConfigurationChanged(Landroid/content/res/Configuration;)V
const/4 v0, 0x0
move v1, v0
:goto_0
sget-object v2, Lcom/ssjjsy/sdk/SdkService;->b:[I
array-length v2, v2
if-ge v1, v2, :cond_1
iget-object v2, p0, Lcom/ssjjsy/sdk/SdkService;->a:[Lcom/ssjjsy/net/o;
if-eqz v2, :cond_0
iget-object v2, p0, Lcom/ssjjsy/sdk/SdkService;->a:[Lcom/ssjjsy/net/o;
aget-object v2, v2, v1
const-string v3, "onConfigurationChanged"
const/4 v4, 0x1
new-array v5, v4, [Ljava/lang/Class;
const-class v6, Landroid/content/res/Configuration;
aput-object v6, v5, v0
new-array v4, v4, [Ljava/lang/Object;
aput-object p1, v4, v0
invoke-virtual {v2, v3, v5, v4}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)V
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
return-void
.end method
.method public onCreate()V
.locals 3
invoke-super {p0}, Landroid/app/Service;->onCreate()V
const-string v0, "sdk"
const-string v1, "onCreate"
invoke-static {v0, v1}, Lcom/ssjjsy/net/DebugUtil;->dev(Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Lcom/ssjjsy/sdk/SdkService;->a:[Lcom/ssjjsy/net/o;
if-nez v0, :cond_0
sget-object v0, Lcom/ssjjsy/sdk/SdkService;->b:[I
array-length v0, v0
new-array v0, v0, [Lcom/ssjjsy/net/o;
iput-object v0, p0, Lcom/ssjjsy/sdk/SdkService;->a:[Lcom/ssjjsy/net/o;
const/4 v0, 0x0
:goto_0
sget-object v1, Lcom/ssjjsy/sdk/SdkService;->b:[I
array-length v1, v1
if-ge v0, v1, :cond_0
iget-object v1, p0, Lcom/ssjjsy/sdk/SdkService;->a:[Lcom/ssjjsy/net/o;
sget-object v2, Lcom/ssjjsy/sdk/SdkService;->b:[I
aget v2, v2, v0
invoke-static {p0, v2}, Lcom/ssjjsy/net/o;->a(Landroid/app/Service;I)Lcom/ssjjsy/net/o;
move-result-object v2
aput-object v2, v1, v0
iget-object v1, p0, Lcom/ssjjsy/sdk/SdkService;->a:[Lcom/ssjjsy/net/o;
aget-object v1, v1, v0
const-string v2, "onCreate"
invoke-virtual {v1, v2}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;)V
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return-void
.end method
.method public onDestroy()V
.locals 3
invoke-super {p0}, Landroid/app/Service;->onDestroy()V
const/4 v0, 0x0
:goto_0
sget-object v1, Lcom/ssjjsy/sdk/SdkService;->b:[I
array-length v1, v1
if-ge v0, v1, :cond_0
iget-object v1, p0, Lcom/ssjjsy/sdk/SdkService;->a:[Lcom/ssjjsy/net/o;
aget-object v1, v1, v0
const-string v2, "onDestroy"
invoke-virtual {v1, v2}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;)V
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return-void
.end method
.method public onLowMemory()V
.locals 0
invoke-super {p0}, Landroid/app/Service;->onLowMemory()V
return-void
.end method
.method public onRebind(Landroid/content/Intent;)V
.locals 7
const/4 v0, 0x0
move v1, v0
:goto_0
sget-object v2, Lcom/ssjjsy/sdk/SdkService;->b:[I
array-length v2, v2
if-ge v1, v2, :cond_0
iget-object v2, p0, Lcom/ssjjsy/sdk/SdkService;->a:[Lcom/ssjjsy/net/o;
aget-object v2, v2, v1
const-string v3, "onRebind"
const/4 v4, 0x1
new-array v5, v4, [Ljava/lang/Class;
const-class v6, Landroid/content/Intent;
aput-object v6, v5, v0
new-array v4, v4, [Ljava/lang/Object;
aput-object p1, v4, v0
invoke-virtual {v2, v3, v5, v4}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)V
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_0
invoke-super {p0, p1}, Landroid/app/Service;->onRebind(Landroid/content/Intent;)V
return-void
.end method
.method public onStart(Landroid/content/Intent;I)V
.locals 8
invoke-super {p0, p1, p2}, Landroid/app/Service;->onStart(Landroid/content/Intent;I)V
const/4 v0, 0x0
move v1, v0
:goto_0
sget-object v2, Lcom/ssjjsy/sdk/SdkService;->b:[I
array-length v2, v2
if-ge v1, v2, :cond_1
iget-object v2, p0, Lcom/ssjjsy/sdk/SdkService;->a:[Lcom/ssjjsy/net/o;
if-eqz v2, :cond_0
iget-object v2, p0, Lcom/ssjjsy/sdk/SdkService;->a:[Lcom/ssjjsy/net/o;
aget-object v2, v2, v1
const-string v3, "onStart"
const/4 v4, 0x2
new-array v5, v4, [Ljava/lang/Class;
const-class v6, Landroid/content/Intent;
aput-object v6, v5, v0
sget-object v6, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
const/4 v7, 0x1
aput-object v6, v5, v7
new-array v4, v4, [Ljava/lang/Object;
aput-object p1, v4, v0
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v6
aput-object v6, v4, v7
invoke-virtual {v2, v3, v5, v4}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)V
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
return-void
.end method
.method public onStartCommand(Landroid/content/Intent;II)I
.locals 9
const-string v0, "sdk"
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "onStartCommand, "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Lcom/ssjjsy/net/DebugUtil;->dev(Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Lcom/ssjjsy/sdk/SdkService;->a:[Lcom/ssjjsy/net/o;
const/4 v1, 0x0
if-nez v0, :cond_0
sget-object v0, Lcom/ssjjsy/sdk/SdkService;->b:[I
array-length v0, v0
new-array v0, v0, [Lcom/ssjjsy/net/o;
iput-object v0, p0, Lcom/ssjjsy/sdk/SdkService;->a:[Lcom/ssjjsy/net/o;
move v0, v1
:goto_0
sget-object v2, Lcom/ssjjsy/sdk/SdkService;->b:[I
array-length v2, v2
if-ge v0, v2, :cond_0
iget-object v2, p0, Lcom/ssjjsy/sdk/SdkService;->a:[Lcom/ssjjsy/net/o;
sget-object v3, Lcom/ssjjsy/sdk/SdkService;->b:[I
aget v3, v3, v0
invoke-static {p0, v3}, Lcom/ssjjsy/net/o;->a(Landroid/app/Service;I)Lcom/ssjjsy/net/o;
move-result-object v3
aput-object v3, v2, v0
iget-object v2, p0, Lcom/ssjjsy/sdk/SdkService;->a:[Lcom/ssjjsy/net/o;
aget-object v2, v2, v0
const-string v3, "onCreate"
invoke-virtual {v2, v3}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;)V
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
move v0, v1
:goto_1
sget-object v2, Lcom/ssjjsy/sdk/SdkService;->b:[I
array-length v2, v2
if-ge v0, v2, :cond_1
iget-object v2, p0, Lcom/ssjjsy/sdk/SdkService;->a:[Lcom/ssjjsy/net/o;
aget-object v2, v2, v0
const-string v3, "onStartCommand"
const/4 v4, 0x3
new-array v5, v4, [Ljava/lang/Class;
const-class v6, Landroid/content/Intent;
aput-object v6, v5, v1
sget-object v6, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
const/4 v7, 0x1
aput-object v6, v5, v7
sget-object v6, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
const/4 v8, 0x2
aput-object v6, v5, v8
new-array v4, v4, [Ljava/lang/Object;
aput-object p1, v4, v1
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v6
aput-object v6, v4, v7
invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v6
aput-object v6, v4, v8
invoke-virtual {v2, v3, v5, v4}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)V
add-int/lit8 v0, v0, 0x1
goto :goto_1
:cond_1
const-string v0, "sdk"
const-string v1, "onStartCommand end"
invoke-static {v0, v1}, Lcom/ssjjsy/net/DebugUtil;->dev(Ljava/lang/String;Ljava/lang/String;)V
invoke-super {p0, p1, p2, p3}, Landroid/app/Service;->onStartCommand(Landroid/content/Intent;II)I
move-result p0
return p0
.end method
.method public onUnbind(Landroid/content/Intent;)Z
.locals 7
const/4 v0, 0x0
move v1, v0
:goto_0
sget-object v2, Lcom/ssjjsy/sdk/SdkService;->b:[I
array-length v2, v2
if-ge v1, v2, :cond_0
iget-object v2, p0, Lcom/ssjjsy/sdk/SdkService;->a:[Lcom/ssjjsy/net/o;
aget-object v2, v2, v1
const-string v3, "onUnbind"
const/4 v4, 0x1
new-array v5, v4, [Ljava/lang/Class;
const-class v6, Landroid/content/Intent;
aput-object v6, v5, v0
new-array v4, v4, [Ljava/lang/Object;
aput-object p1, v4, v0
invoke-virtual {v2, v3, v5, v4}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)V
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_0
invoke-super {p0, p1}, Landroid/app/Service;->onUnbind(Landroid/content/Intent;)Z
move-result p0
return p0
.end method
.class public Lcom/ssjjsy/sdk/SdkServiceV2;
.super Landroid/app/Service;
# static fields
.field private static final b:[I
# instance fields
.field private a:[Lcom/ssjjsy/net/o;
# direct methods
.method static constructor <clinit>()V
.locals 2
const/4 v0, 0x1
new-array v0, v0, [I
const/4 v1, 0x0
aput v1, v0, v1
sput-object v0, Lcom/ssjjsy/sdk/SdkServiceV2;->b:[I
return-void
.end method
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Landroid/app/Service;-><init>()V
const/4 v0, 0x0
iput-object v0, p0, Lcom/ssjjsy/sdk/SdkServiceV2;->a:[Lcom/ssjjsy/net/o;
return-void
.end method
# virtual methods
.method public onBind(Landroid/content/Intent;)Landroid/os/IBinder;
.locals 8
const-string v0, "sdk"
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "onBind, "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Lcom/ssjjsy/net/DebugUtil;->dev(Ljava/lang/String;Ljava/lang/String;)V
const/4 v0, 0x0
const/4 v1, 0x0
move-object v2, v0
move v0, v1
:goto_0
sget-object v3, Lcom/ssjjsy/sdk/SdkServiceV2;->b:[I
array-length v3, v3
if-ge v0, v3, :cond_1
iget-object v3, p0, Lcom/ssjjsy/sdk/SdkServiceV2;->a:[Lcom/ssjjsy/net/o;
aget-object v3, v3, v0
const-string v4, "onBind"
const/4 v5, 0x1
new-array v6, v5, [Ljava/lang/Class;
const-class v7, Landroid/content/Intent;
aput-object v7, v6, v1
new-array v5, v5, [Ljava/lang/Object;
aput-object p1, v5, v1
invoke-virtual {v3, v4, v6, v5}, Lcom/ssjjsy/net/o;->b(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
check-cast v3, Landroid/os/IBinder;
if-eqz v3, :cond_0
move-object v2, v3
:cond_0
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
const-string p0, "sdk"
new-instance p1, Ljava/lang/StringBuilder;
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
const-string v0, "onBind, binder = "
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-static {p0, p1}, Lcom/ssjjsy/net/DebugUtil;->dev(Ljava/lang/String;Ljava/lang/String;)V
return-object v2
.end method
.method public onConfigurationChanged(Landroid/content/res/Configuration;)V
.locals 7
invoke-super {p0, p1}, Landroid/app/Service;->onConfigurationChanged(Landroid/content/res/Configuration;)V
const/4 v0, 0x0
move v1, v0
:goto_0
sget-object v2, Lcom/ssjjsy/sdk/SdkServiceV2;->b:[I
array-length v2, v2
if-ge v1, v2, :cond_1
iget-object v2, p0, Lcom/ssjjsy/sdk/SdkServiceV2;->a:[Lcom/ssjjsy/net/o;
if-eqz v2, :cond_0
iget-object v2, p0, Lcom/ssjjsy/sdk/SdkServiceV2;->a:[Lcom/ssjjsy/net/o;
aget-object v2, v2, v1
const-string v3, "onConfigurationChanged"
const/4 v4, 0x1
new-array v5, v4, [Ljava/lang/Class;
const-class v6, Landroid/content/res/Configuration;
aput-object v6, v5, v0
new-array v4, v4, [Ljava/lang/Object;
aput-object p1, v4, v0
invoke-virtual {v2, v3, v5, v4}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)V
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
return-void
.end method
.method public onCreate()V
.locals 3
invoke-super {p0}, Landroid/app/Service;->onCreate()V
const-string v0, "sdk"
const-string v1, "onCreate"
invoke-static {v0, v1}, Lcom/ssjjsy/net/DebugUtil;->dev(Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Lcom/ssjjsy/sdk/SdkServiceV2;->a:[Lcom/ssjjsy/net/o;
if-nez v0, :cond_0
sget-object v0, Lcom/ssjjsy/sdk/SdkServiceV2;->b:[I
array-length v0, v0
new-array v0, v0, [Lcom/ssjjsy/net/o;
iput-object v0, p0, Lcom/ssjjsy/sdk/SdkServiceV2;->a:[Lcom/ssjjsy/net/o;
const/4 v0, 0x0
:goto_0
sget-object v1, Lcom/ssjjsy/sdk/SdkServiceV2;->b:[I
array-length v1, v1
if-ge v0, v1, :cond_0
iget-object v1, p0, Lcom/ssjjsy/sdk/SdkServiceV2;->a:[Lcom/ssjjsy/net/o;
sget-object v2, Lcom/ssjjsy/sdk/SdkServiceV2;->b:[I
aget v2, v2, v0
invoke-static {p0, v2}, Lcom/ssjjsy/net/o;->b(Landroid/app/Service;I)Lcom/ssjjsy/net/o;
move-result-object v2
aput-object v2, v1, v0
iget-object v1, p0, Lcom/ssjjsy/sdk/SdkServiceV2;->a:[Lcom/ssjjsy/net/o;
aget-object v1, v1, v0
const-string v2, "onCreate"
invoke-virtual {v1, v2}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;)V
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return-void
.end method
.method public onDestroy()V
.locals 3
invoke-super {p0}, Landroid/app/Service;->onDestroy()V
const/4 v0, 0x0
:goto_0
sget-object v1, Lcom/ssjjsy/sdk/SdkServiceV2;->b:[I
array-length v1, v1
if-ge v0, v1, :cond_0
iget-object v1, p0, Lcom/ssjjsy/sdk/SdkServiceV2;->a:[Lcom/ssjjsy/net/o;
aget-object v1, v1, v0
const-string v2, "onDestroy"
invoke-virtual {v1, v2}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;)V
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return-void
.end method
.method public onLowMemory()V
.locals 0
invoke-super {p0}, Landroid/app/Service;->onLowMemory()V
return-void
.end method
.method public onRebind(Landroid/content/Intent;)V
.locals 7
const/4 v0, 0x0
move v1, v0
:goto_0
sget-object v2, Lcom/ssjjsy/sdk/SdkServiceV2;->b:[I
array-length v2, v2
if-ge v1, v2, :cond_0
iget-object v2, p0, Lcom/ssjjsy/sdk/SdkServiceV2;->a:[Lcom/ssjjsy/net/o;
aget-object v2, v2, v1
const-string v3, "onRebind"
const/4 v4, 0x1
new-array v5, v4, [Ljava/lang/Class;
const-class v6, Landroid/content/Intent;
aput-object v6, v5, v0
new-array v4, v4, [Ljava/lang/Object;
aput-object p1, v4, v0
invoke-virtual {v2, v3, v5, v4}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)V
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_0
invoke-super {p0, p1}, Landroid/app/Service;->onRebind(Landroid/content/Intent;)V
return-void
.end method
.method public onStart(Landroid/content/Intent;I)V
.locals 8
invoke-super {p0, p1, p2}, Landroid/app/Service;->onStart(Landroid/content/Intent;I)V
const/4 v0, 0x0
move v1, v0
:goto_0
sget-object v2, Lcom/ssjjsy/sdk/SdkServiceV2;->b:[I
array-length v2, v2
if-ge v1, v2, :cond_1
iget-object v2, p0, Lcom/ssjjsy/sdk/SdkServiceV2;->a:[Lcom/ssjjsy/net/o;
if-eqz v2, :cond_0
iget-object v2, p0, Lcom/ssjjsy/sdk/SdkServiceV2;->a:[Lcom/ssjjsy/net/o;
aget-object v2, v2, v1
const-string v3, "onStart"
const/4 v4, 0x2
new-array v5, v4, [Ljava/lang/Class;
const-class v6, Landroid/content/Intent;
aput-object v6, v5, v0
sget-object v6, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
const/4 v7, 0x1
aput-object v6, v5, v7
new-array v4, v4, [Ljava/lang/Object;
aput-object p1, v4, v0
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v6
aput-object v6, v4, v7
invoke-virtual {v2, v3, v5, v4}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)V
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
return-void
.end method
.method public onStartCommand(Landroid/content/Intent;II)I
.locals 9
const-string v0, "sdk"
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "onStartCommand, "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Lcom/ssjjsy/net/DebugUtil;->dev(Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Lcom/ssjjsy/sdk/SdkServiceV2;->a:[Lcom/ssjjsy/net/o;
const/4 v1, 0x0
if-nez v0, :cond_0
sget-object v0, Lcom/ssjjsy/sdk/SdkServiceV2;->b:[I
array-length v0, v0
new-array v0, v0, [Lcom/ssjjsy/net/o;
iput-object v0, p0, Lcom/ssjjsy/sdk/SdkServiceV2;->a:[Lcom/ssjjsy/net/o;
move v0, v1
:goto_0
sget-object v2, Lcom/ssjjsy/sdk/SdkServiceV2;->b:[I
array-length v2, v2
if-ge v0, v2, :cond_0
iget-object v2, p0, Lcom/ssjjsy/sdk/SdkServiceV2;->a:[Lcom/ssjjsy/net/o;
sget-object v3, Lcom/ssjjsy/sdk/SdkServiceV2;->b:[I
aget v3, v3, v0
invoke-static {p0, v3}, Lcom/ssjjsy/net/o;->a(Landroid/app/Service;I)Lcom/ssjjsy/net/o;
move-result-object v3
aput-object v3, v2, v0
iget-object v2, p0, Lcom/ssjjsy/sdk/SdkServiceV2;->a:[Lcom/ssjjsy/net/o;
aget-object v2, v2, v0
const-string v3, "onCreate"
invoke-virtual {v2, v3}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;)V
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
move v0, v1
:goto_1
sget-object v2, Lcom/ssjjsy/sdk/SdkServiceV2;->b:[I
array-length v2, v2
if-ge v0, v2, :cond_1
iget-object v2, p0, Lcom/ssjjsy/sdk/SdkServiceV2;->a:[Lcom/ssjjsy/net/o;
aget-object v2, v2, v0
const-string v3, "onStartCommand"
const/4 v4, 0x3
new-array v5, v4, [Ljava/lang/Class;
const-class v6, Landroid/content/Intent;
aput-object v6, v5, v1
sget-object v6, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
const/4 v7, 0x1
aput-object v6, v5, v7
sget-object v6, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
const/4 v8, 0x2
aput-object v6, v5, v8
new-array v4, v4, [Ljava/lang/Object;
aput-object p1, v4, v1
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v6
aput-object v6, v4, v7
invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v6
aput-object v6, v4, v8
invoke-virtual {v2, v3, v5, v4}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)V
add-int/lit8 v0, v0, 0x1
goto :goto_1
:cond_1
const-string v0, "sdk"
const-string v1, "onStartCommand end"
invoke-static {v0, v1}, Lcom/ssjjsy/net/DebugUtil;->dev(Ljava/lang/String;Ljava/lang/String;)V
invoke-super {p0, p1, p2, p3}, Landroid/app/Service;->onStartCommand(Landroid/content/Intent;II)I
move-result p0
return p0
.end method
.method public onUnbind(Landroid/content/Intent;)Z
.locals 7
const/4 v0, 0x0
move v1, v0
:goto_0
sget-object v2, Lcom/ssjjsy/sdk/SdkServiceV2;->b:[I
array-length v2, v2
if-ge v1, v2, :cond_0
iget-object v2, p0, Lcom/ssjjsy/sdk/SdkServiceV2;->a:[Lcom/ssjjsy/net/o;
aget-object v2, v2, v1
const-string v3, "onUnbind"
const/4 v4, 0x1
new-array v5, v4, [Ljava/lang/Class;
const-class v6, Landroid/content/Intent;
aput-object v6, v5, v0
new-array v4, v4, [Ljava/lang/Object;
aput-object p1, v4, v0
invoke-virtual {v2, v3, v5, v4}, Lcom/ssjjsy/net/o;->a(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)V
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_0
invoke-super {p0, p1}, Landroid/app/Service;->onUnbind(Landroid/content/Intent;)Z
move-result p0
return p0
.end method
???
随便贴个代码上来求助吗 芽衣 发表于 2021-1-27 18:35
???
随便贴个代码上来求助吗
全部代码太多了 CL18808697459 发表于 2021-1-27 22:27
全部代码太多了
啊这,我的意思是你怎么知道是这个类的。
我感觉是支付相关的代码{:17_1061:} 芽衣 发表于 2021-1-27 22:37
啊这,我的意思是你怎么知道是这个类的。
我感觉是支付相关的代码
我把全部的都贴了,你瞅瞅看看,我刚接触这方面,都不太懂{:301_998:}
页:
[1]