好友
阅读权限10
听众
最后登录1970-1-1
|
明天见25
发表于 2020-1-11 01:07
.class Lcom/tdvideo/alipay/AliPayTool$1;
.super Landroid/os/Handler;
.source "AliPayTool.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/tdvideo/alipay/AliPayTool;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/tdvideo/alipay/AliPayTool;
# direct methods
.method constructor <init>(Lcom/tdvideo/alipay/AliPayTool;)V
.registers 2
.line 28
iput-object p1, p0, Lcom/tdvideo/alipay/AliPayTool$1;->this$0:Lcom/tdvideo/alipay/AliPayTool;
invoke-direct {p0}, Landroid/os/Handler;-><init>()V
return-void
.end method
# virtual methods
.method public handleMessage(Landroid/os/Message;)V
.registers 7
.line 31
iget v0, p1, Landroid/os/Message;->what:I
const/4 v1, 0x1
if-eq v0, v1, :cond_7
goto/16 :goto_8c
.line 34
:cond_7
new-instance v0, Lcom/tdvideo/alipay/PayResult;
iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
check-cast p1, Ljava/util/Map;
invoke-direct {v0, p1}, Lcom/tdvideo/alipay/PayResult;-><init>(Ljava/util/Map;)V
.line 38
invoke-virtual {v0}, Lcom/tdvideo/alipay/PayResult;->getResult()Ljava/lang/String;
.line 39
invoke-virtual {v0}, Lcom/tdvideo/alipay/PayResult;->getResultStatus()Ljava/lang/String;
move-result-object p1
const/4 v0, -0x1
.line 42
invoke-virtual {p1}, Ljava/lang/String;->hashCode()I
move-result v2
const/4 v3, 0x3
const/4 v4, 0x2
sparse-switch v2, :sswitch_data_8e
goto :goto_53
:sswitch_22
const-string v2, "9000"
invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_53
const/4 v0, 0x0
goto :goto_53
:sswitch_2c
const-string v2, "8000"
invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_53
const/4 v0, 0x1
goto :goto_53
:sswitch_36
const-string v2, "6002"
invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_53
const/4 v0, 0x3
goto :goto_53
:sswitch_40
const-string v2, "6001"
invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_53
const/4 v0, 0x2
goto :goto_53
:sswitch_4a
const-string v2, "4000"
invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_53
const/4 v0, 0x4
:cond_53
:goto_53
if-eqz v0, :cond_7b
if-eq v0, v1, :cond_73
if-eq v0, v4, :cond_6b
if-eq v0, v3, :cond_63
.line 63
iget-object v0, p0, Lcom/tdvideo/alipay/AliPayTool$1;->this$0:Lcom/tdvideo/alipay/AliPayTool;
const-string v1, "支付失败"
invoke-static {v0, v1, p1}, Lcom/tdvideo/alipay/AliPayTool;->access$100(Lcom/tdvideo/alipay/AliPayTool;Ljava/lang/String;Ljava/lang/String;)V
goto :goto_8c
.line 59
:cond_63
iget-object v0, p0, Lcom/tdvideo/alipay/AliPayTool$1;->this$0:Lcom/tdvideo/alipay/AliPayTool;
const-string v1, "网络连接出错"
invoke-static {v0, v1, p1}, Lcom/tdvideo/alipay/AliPayTool;->access$100(Lcom/tdvideo/alipay/AliPayTool;Ljava/lang/String;Ljava/lang/String;)V
goto :goto_8c
.line 55
:cond_6b
iget-object v0, p0, Lcom/tdvideo/alipay/AliPayTool$1;->this$0:Lcom/tdvideo/alipay/AliPayTool;
const-string v1, "取消了支付"
invoke-static {v0, v1, p1}, Lcom/tdvideo/alipay/AliPayTool;->access$100(Lcom/tdvideo/alipay/AliPayTool;Ljava/lang/String;Ljava/lang/String;)V
goto :goto_8c
.line 51
:cond_73
iget-object v0, p0, Lcom/tdvideo/alipay/AliPayTool$1;->this$0:Lcom/tdvideo/alipay/AliPayTool;
const-string v1, "支付结果确认中"
invoke-static {v0, v1, p1}, Lcom/tdvideo/alipay/AliPayTool;->access$100(Lcom/tdvideo/alipay/AliPayTool;Ljava/lang/String;Ljava/lang/String;)V
goto :goto_8c
.line 46
:cond_7b
iget-object v0, p0, Lcom/tdvideo/alipay/AliPayTool$1;->this$0:Lcom/tdvideo/alipay/AliPayTool;
invoke-static {v0}, Lcom/tdvideo/alipay/AliPayTool;->access$000(Lcom/tdvideo/alipay/AliPayTool;)Lcom/tdvideo/alipay/AliPayTool$PaySuccessListener;
move-result-object v0
if-eqz v0, :cond_8c
.line 47
iget-object v0, p0, Lcom/tdvideo/alipay/AliPayTool$1;->this$0:Lcom/tdvideo/alipay/AliPayTool;
invoke-static {v0}, Lcom/tdvideo/alipay/AliPayTool;->access$000(Lcom/tdvideo/alipay/AliPayTool;)Lcom/tdvideo/alipay/AliPayTool$PaySuccessListener;
move-result-object v0
invoke-interface {v0, p1}, Lcom/tdvideo/alipay/AliPayTool$PaySuccessListener;->onPaySuccess(Ljava/lang/String;)V
:cond_8c
:goto_8c
return-void
nop
:sswitch_data_8e
.sparse-switch
0x185d7c -> :sswitch_4a
0x19463b -> :sswitch_40
0x19463c -> :sswitch_36
0x1a2ef8 -> :sswitch_2c
0x1aa357 -> :sswitch_22
.end sparse-switch
.end method
|
|