-1

伙计们,当我编辑一个 smali 文件时,我更改了启动应用程序时要在弹出窗口中显示的文本,但文本不显示,但弹出窗口仍然出现

虚方法

.method public onClick(Landroid/view/View;)V .locals 4

iget-object v0, p0, LbotX/mod/p/ۦۖۤ;->ۨۚۖۗ:Landroid/app/AlertDialog;

invoke-virtual {v0}, Landroid/app/AlertDialog;->dismiss()V

iget-object v0, p0, LbotX/mod/p/ۦۖۤ;->ۢۘۤۗ:Landroid/content/Context;

new-instance v1, Landroid/content/Intent;

const-string v2, "android.intent.action.VIEW"

const-string v3, "http://MODDROID.CO"

invoke-static {v3}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

move-result-object v3

invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

invoke-virtual {v0, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

return-void

.end 方法

4

1 回答 1

0

The code you have included into your question does not look like a "popup" instead the default web browser is opened using the URL http://MODDROID.CO.

If this is the "popup" you are talking about you can simply comment out the line

invoke-virtual {v0, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

Commenting out this line here does not have any side effect on the app.

于 2021-10-03T11:41:56.393 回答