Skip to content

Commit

Permalink
1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
qinlili23333 committed Feb 9, 2022
1 parent 16f1712 commit c27be94
Show file tree
Hide file tree
Showing 8 changed files with 213 additions and 356 deletions.
16 changes: 0 additions & 16 deletions src/qinlili/Client/RailgunCore.smali

This file was deleted.

19 changes: 9 additions & 10 deletions src/qinlili/PDF/WebPDF$Exit.smali
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x20
accessFlags = 0x0
name = "Load"
.end annotation

Expand Down Expand Up @@ -42,22 +42,21 @@

# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
.registers 10
.registers 6

.prologue
iget-object p0, p0, Lqinlili/PDF/WebPDF$Exit;->this$0:Lqinlili/PDF/WebPDF;
iget-object v0, p0, Lqinlili/PDF/WebPDF$Exit;->this$0:Lqinlili/PDF/WebPDF;

const-string v0, "用户取消了操作"
const-string v1, "用户取消了操作"

const/4 v1, 0x0
const/4 v2, 0x0

invoke-static {p0, v0, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

move-result-object v0
move-result-object v1

invoke-virtual {v0}, Landroid/widget/Toast;->show()V
invoke-virtual {v1}, Landroid/widget/Toast;->show()V

invoke-virtual {p0}, Lqinlili/PDF/WebPDF;->finishAndRemoveTask()V
invoke-virtual {v0}, Lqinlili/PDF/WebPDF;->finishAndRemoveTask()V

return-void
.end method
72 changes: 35 additions & 37 deletions src/qinlili/PDF/WebPDF$Load.smali
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x20
accessFlags = 0x0
name = "Load"
.end annotation

Expand Down Expand Up @@ -42,9 +42,10 @@

# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
.registers 10
.registers 8

const/4 v4, 0x0

.prologue
iget-object v0, p0, Lqinlili/PDF/WebPDF$Load;->this$0:Lqinlili/PDF/WebPDF;

iget-object v0, v0, Lqinlili/PDF/WebPDF;->et:Landroid/widget/EditText;
Expand All @@ -61,9 +62,9 @@

invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v2
move-result v1

if-nez v2, :cond_2f
if-nez v1, :cond_30

new-instance v1, Ljava/lang/StringBuilder;

Expand All @@ -83,76 +84,73 @@

move-result-object v0

iget-object p0, p0, Lqinlili/PDF/WebPDF$Load;->this$0:Lqinlili/PDF/WebPDF;
iget-object v1, p0, Lqinlili/PDF/WebPDF$Load;->this$0:Lqinlili/PDF/WebPDF;

iget-object v1, p0, Lqinlili/PDF/WebPDF;->w:Landroid/webkit/WebView;
iget-object v1, v1, Lqinlili/PDF/WebPDF;->w:Landroid/webkit/WebView;

invoke-virtual {v1, v0}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

:goto_2f
return-void

:cond_2f
iget-object p0, p0, Lqinlili/PDF/WebPDF$Load;->this$0:Lqinlili/PDF/WebPDF;

const-string v0, "你啥也没输入"
:cond_30
iget-object v0, p0, Lqinlili/PDF/WebPDF$Load;->this$0:Lqinlili/PDF/WebPDF;

const/4 v1, 0x0
const-string v1, "你啥也没输入"

invoke-static {p0, v0, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
invoke-static {v0, v1, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

move-result-object v0
move-result-object v1

invoke-virtual {v0}, Landroid/widget/Toast;->show()V
invoke-virtual {v1}, Landroid/widget/Toast;->show()V

new-instance v0, Landroid/widget/EditText;
new-instance v1, Landroid/widget/EditText;

invoke-direct {v0, p0}, Landroid/widget/EditText;-><init>(Landroid/content/Context;)V
invoke-direct {v1, v0}, Landroid/widget/EditText;-><init>(Landroid/content/Context;)V

iput-object v0, p0, Lqinlili/PDF/WebPDF;->et:Landroid/widget/EditText;
iput-object v1, v0, Lqinlili/PDF/WebPDF;->et:Landroid/widget/EditText;

new-instance v0, Landroid/app/AlertDialog$Builder;
new-instance v1, Landroid/app/AlertDialog$Builder;

invoke-direct {v0, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V
invoke-direct {v1, v0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

const-string v1, "PDF地址"
const-string v2, "PDF地址"

invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;
invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

move-result-object v0
move-result-object v1

iget-object v1, p0, Lqinlili/PDF/WebPDF;->et:Landroid/widget/EditText;
iget-object v2, v0, Lqinlili/PDF/WebPDF;->et:Landroid/widget/EditText;

invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroid/app/AlertDialog$Builder;
invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroid/app/AlertDialog$Builder;

move-result-object v0
move-result-object v1

const-string v1, "确定"
const-string v2, "确定"

new-instance v2, Lqinlili/PDF/WebPDF$Load;
new-instance v3, Lqinlili/PDF/WebPDF$Load;

invoke-direct {v2, p0}, Lqinlili/PDF/WebPDF$Load;-><init>(Lqinlili/PDF/WebPDF;)V
invoke-direct {v3, v0}, Lqinlili/PDF/WebPDF$Load;-><init>(Lqinlili/PDF/WebPDF;)V

invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;
invoke-virtual {v1, v2, v3}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

move-result-object v1

const-string v2, "取消"

new-instance v0, Lqinlili/PDF/WebPDF$Exit;
new-instance v3, Lqinlili/PDF/WebPDF$Exit;

invoke-direct {v0, p0}, Lqinlili/PDF/WebPDF$Exit;-><init>(Lqinlili/PDF/WebPDF;)V
invoke-direct {v3, v0}, Lqinlili/PDF/WebPDF$Exit;-><init>(Lqinlili/PDF/WebPDF;)V

invoke-virtual {v1, v2, v0}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;
invoke-virtual {v1, v2, v3}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

move-result-object v0

invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

move-result-object v0

const v3, 0x0
invoke-virtual {v0, v4}, Landroid/app/AlertDialog;->setCancelable(Z)V

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

return-void
goto :goto_2f
.end method
Loading

0 comments on commit c27be94

Please sign in to comment.