|
|
本帖最后由 ceo1076 于 2026-3-15 06:51 编辑
今天网友私信说启航视频有更新弹窗了,
教小白去除更新弹窗方法↓↓↓:
方法如下
使用工具:Mt管理器
1.用Mt记录值记录,
2.搜类名com.dialog.l0
3.打开找到找到方法a,
图示:
未修改前:(演示)
.method public static a(ZLcom/http/api/UpgrageApi$Bean;)Z
.registers 4
if-eqz p1, :cond_1f
.line 1
:try_start_2
invoke-virtual {p1}, Lcom/http/api/UpgrageApi$Bean;->getVersion_code()I
move-result v0
invoke-static {}, Lcom/blankj/utilcode/util/d;->a()I
move-result v1
if-le v0, v1, :cond_1f
.line 2
new-instance p0, Lcom/dialog/l0;
invoke-static {}, Lcom/blankj/utilcode/util/a;->i()Landroid/app/Activity;
move-result-object v0
invoke-direct {p0, v0, p1}, Lcom/dialog/l0;-><init>(Landroid/content/Context;Lcom/http/api/UpgrageApi$Bean;)V
invoke-virtual {p0}, Landroid/app/Dialog;->show()V
const-string p0, "========>>> 包升级更新:${it.url}"
.line 3
invoke-static {p0}, Lcom/other/p;->b(Ljava/lang/Object;)V
const/4 p0, 0x1
return p0
:cond_1f
if-eqz p0, :cond_26
const-string p0, "已经是最新版本"
.line 4
invoke-static {p0}, Lcom/blankj/utilcode/util/ToastUtils;->v(Ljava/lang/CharSequence;)V
:try_end_26
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_26} :catch_26
:catch_26
:cond_26
const/4 p0, 0x0
return p0
.end method
修改后:
.method public static a(ZLcom/http/api/UpgrageApi$Bean;)#修改后
.registers 2
.line 1
const/4 p0, 0x0
.line 2
return p0
.end method
保存退出即可。
效果图:
感谢网友反馈,看到即时解决。 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|