好友
阅读权限10
听众
最后登录1970-1-1
|
来夜
发表于 2019-10-30 17:10
这个.....大佬帮我看看,谢谢了
.class Lcom/leyo/sdk/alipay/MyALipayUtils$1;
.super Landroid/os/Handler;
.source "MyALipayUtils.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/leyo/sdk/alipay/MyALipayUtils;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/leyo/sdk/alipay/MyALipayUtils;
# direct methods
.method constructor <init>(Lcom/leyo/sdk/alipay/MyALipayUtils;)V
.registers 2
.line 1
iput-object p1, p0, Lcom/leyo/sdk/alipay/MyALipayUtils$1;->this$0:Lcom/leyo/sdk/alipay/MyALipayUtils;
.line 55
invoke-direct {p0}, Landroid/os/Handler;-><init>()V
return-void
.end method
# virtual methods
.method public handleMessage(Landroid/os/Message;)V
.registers 5
.line 61
:try_start_0
iget-object v0, p0, Lcom/leyo/sdk/alipay/MyALipayUtils$1;->this$0:Lcom/leyo/sdk/alipay/MyALipayUtils;
iget-object v1, p0, Lcom/leyo/sdk/alipay/MyALipayUtils$1;->this$0:Lcom/leyo/sdk/alipay/MyALipayUtils;
invoke-static {v1}, Lcom/leyo/sdk/alipay/MyALipayUtils;->access$0(Lcom/leyo/sdk/alipay/MyALipayUtils;)Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Lcom/leyo/sdk/alipay/MyALipayUtils;->access$1(Lcom/leyo/sdk/alipay/MyALipayUtils;Ljava/lang/String;)V
:try_end_b
.catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_b} :catch_c
goto :goto_10
:catch_c
move-exception v0
.line 64
invoke-virtual {v0}, Landroid/content/pm/PackageManager$NameNotFoundException;->printStackTrace()V
.line 76
:goto_10
new-instance v0, Lcom/leyo/sdk/alipay/AliPayResult;
iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
check-cast p1, Ljava/util/Map;
invoke-direct {v0, p1}, Lcom/leyo/sdk/alipay/AliPayResult;-><init>(Ljava/util/Map;)V
const-string p1, "leyosdk"
.line 77
new-instance v1, Ljava/lang/StringBuilder;
const-string v2, "payResult.getResultStatus()= "
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v0}, Lcom/leyo/sdk/alipay/AliPayResult;->getResultStatus()Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {p1, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
.line 78
invoke-virtual {v0}, Lcom/leyo/sdk/alipay/AliPayResult;->getResultStatus()Ljava/lang/String;
move-result-object p1
invoke-virtual {p1}, Ljava/lang/String;->hashCode()I
move-result v0
sparse-switch v0, :sswitch_data_ae
goto :goto_9c
:sswitch_3c
const-string v0, "9000"
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
if-nez p1, :cond_45
goto :goto_9c
.line 81
:cond_45
iget-object p1, p0, Lcom/leyo/sdk/alipay/MyALipayUtils$1;->this$0:Lcom/leyo/sdk/alipay/MyALipayUtils;
invoke-static {p1}, Lcom/leyo/sdk/alipay/MyALipayUtils;->access$2(Lcom/leyo/sdk/alipay/MyALipayUtils;)Lcom/leyo/sdk/interfaces/PCallback;
move-result-object p1
const/4 v0, 0x0
iget-object v1, p0, Lcom/leyo/sdk/alipay/MyALipayUtils$1;->this$0:Lcom/leyo/sdk/alipay/MyALipayUtils;
invoke-static {v1}, Lcom/leyo/sdk/alipay/MyALipayUtils;->access$0(Lcom/leyo/sdk/alipay/MyALipayUtils;)Ljava/lang/String;
move-result-object v1
invoke-interface {p1, v0, v1}, Lcom/leyo/sdk/interfaces/PCallback;->payResult(ILjava/lang/String;)V
goto :goto_ac
:sswitch_56
const-string v0, "8000"
.line 78
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
if-nez p1, :cond_ac
goto :goto_9c
:sswitch_5f
const-string v0, "6004"
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
if-nez p1, :cond_ac
goto :goto_9c
:sswitch_68
const-string v0, "6002"
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
if-nez p1, :cond_ac
goto :goto_9c
:sswitch_71
const-string v0, "6001"
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
if-nez p1, :cond_7a
goto :goto_9c
.line 94
:cond_7a
iget-object p1, p0, Lcom/leyo/sdk/alipay/MyALipayUtils$1;->this$0:Lcom/leyo/sdk/alipay/MyALipayUtils;
invoke-static {p1}, Lcom/leyo/sdk/alipay/MyALipayUtils;->access$2(Lcom/leyo/sdk/alipay/MyALipayUtils;)Lcom/leyo/sdk/interfaces/PCallback;
move-result-object p1
const/4 v0, 0x2
iget-object v1, p0, Lcom/leyo/sdk/alipay/MyALipayUtils$1;->this$0:Lcom/leyo/sdk/alipay/MyALipayUtils;
invoke-static {v1}, Lcom/leyo/sdk/alipay/MyALipayUtils;->access$0(Lcom/leyo/sdk/alipay/MyALipayUtils;)Ljava/lang/String;
move-result-object v1
invoke-interface {p1, v0, v1}, Lcom/leyo/sdk/interfaces/PCallback;->payResult(ILjava/lang/String;)V
goto :goto_ac
:sswitch_8b
const-string v0, "5000"
.line 78
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
if-nez p1, :cond_ac
goto :goto_9c
:sswitch_94
const-string v0, "4000"
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
if-nez p1, :cond_ac
.line 104
:goto_9c
iget-object p1, p0, Lcom/leyo/sdk/alipay/MyALipayUtils$1;->this$0:Lcom/leyo/sdk/alipay/MyALipayUtils;
invoke-static {p1}, Lcom/leyo/sdk/alipay/MyALipayUtils;->access$2(Lcom/leyo/sdk/alipay/MyALipayUtils;)Lcom/leyo/sdk/interfaces/PCallback;
move-result-object p1
const/4 v0, 0x1
iget-object v1, p0, Lcom/leyo/sdk/alipay/MyALipayUtils$1;->this$0:Lcom/leyo/sdk/alipay/MyALipayUtils;
invoke-static {v1}, Lcom/leyo/sdk/alipay/MyALipayUtils;->access$0(Lcom/leyo/sdk/alipay/MyALipayUtils;)Ljava/lang/String;
move-result-object v1
invoke-interface {p1, v0, v1}, Lcom/leyo/sdk/interfaces/PCallback;->payResult(ILjava/lang/String;)V
:cond_ac
:goto_ac
return-void
nop
:sswitch_data_ae
.sparse-switch
0x185d7c -> :sswitch_94
0x18d1db -> :sswitch_8b
0x19463b -> :sswitch_71
0x19463c -> :sswitch_68
0x19463e -> :sswitch_5f
0x1a2ef8 -> :sswitch_56
0x1aa357 -> :sswitch_3c
.end sparse-switch
.end method
|
|