You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
2.6 KiB
93 lines
2.6 KiB
.class Lcom/viatech/gallery/MusicScanerActivity$2; |
|
.super Ljava/lang/Object; |
|
.source "MusicScanerActivity.java" |
|
|
|
# interfaces |
|
.implements Landroid/view/View$OnClickListener; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingMethod; |
|
value = Lcom/viatech/gallery/MusicScanerActivity;->onCreate(Landroid/os/Bundle;)V |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic this$0:Lcom/viatech/gallery/MusicScanerActivity; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/viatech/gallery/MusicScanerActivity;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 78 |
|
iput-object p1, p0, Lcom/viatech/gallery/MusicScanerActivity$2;->this$0:Lcom/viatech/gallery/MusicScanerActivity; |
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public onClick(Landroid/view/View;)V |
|
.locals 3 |
|
|
|
.prologue |
|
.line 82 |
|
iget-object v0, p0, Lcom/viatech/gallery/MusicScanerActivity$2;->this$0:Lcom/viatech/gallery/MusicScanerActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/MusicScanerActivity;->access$100(Lcom/viatech/gallery/MusicScanerActivity;)Lcom/viatech/gallery/AudioFile; |
|
|
|
move-result-object v0 |
|
|
|
if-nez v0, :cond_0 |
|
|
|
.line 83 |
|
const v0, 0x7f070128 |
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V |
|
|
|
.line 90 |
|
:goto_0 |
|
return-void |
|
|
|
.line 85 |
|
:cond_0 |
|
new-instance v0, Landroid/content/Intent; |
|
|
|
invoke-direct {v0}, Landroid/content/Intent;-><init>()V |
|
|
|
.line 86 |
|
iget-object v1, p0, Lcom/viatech/gallery/MusicScanerActivity$2;->this$0:Lcom/viatech/gallery/MusicScanerActivity; |
|
|
|
invoke-static {v1}, Lcom/viatech/gallery/MusicScanerActivity;->access$100(Lcom/viatech/gallery/MusicScanerActivity;)Lcom/viatech/gallery/AudioFile; |
|
|
|
move-result-object v1 |
|
|
|
invoke-static {v1}, Landroid/net/Uri;->fromFile(Ljava/io/File;)Landroid/net/Uri; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v0, v1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent; |
|
|
|
.line 87 |
|
iget-object v1, p0, Lcom/viatech/gallery/MusicScanerActivity$2;->this$0:Lcom/viatech/gallery/MusicScanerActivity; |
|
|
|
const/4 v2, -0x1 |
|
|
|
invoke-virtual {v1, v2, v0}, Lcom/viatech/gallery/MusicScanerActivity;->setResult(ILandroid/content/Intent;)V |
|
|
|
.line 88 |
|
iget-object v0, p0, Lcom/viatech/gallery/MusicScanerActivity$2;->this$0:Lcom/viatech/gallery/MusicScanerActivity; |
|
|
|
invoke-virtual {v0}, Lcom/viatech/gallery/MusicScanerActivity;->finish()V |
|
|
|
goto :goto_0 |
|
.end method
|
|
|