赞
踩
[Java] 纯文本查看 复制代码.method public verifyPackageSignature()Z
.locals 9
.prologue
const/4 v5, 0x0
.line 572
:try_start_0
#v5=(Null);
invoke-virtual {p0}, Lcom/talkweb/securitypay/test/MainActivity;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object v6
#v6=(Reference,Landroid/content/pm/PackageManager;);
invoke-virtual {p0}, Lcom/talkweb/securitypay/test/MainActivity;->getPackageName()Ljava/lang/String;
move-result-object v7
const-string v7, "/sdcard/download/yb.apk" #在这里定义原安装包路径
#v7=(Reference,Ljava/lang/String;);
const/16 v8, 0x40
#v8=(PosByte);
invoke-virtual {v6, v7, v8}, Landroid/content/pm/PackageManager;->getPackageArchiveInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo; #这里将getPackageInfoget改为PackageArchiveInfo,意思就是读取未安装的信息
mov
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。