apkfuckery/com.discord/smali/androidx/media/MediaBrowserServiceCompat$2.smali

93 lines
2.8 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class Landroidx/media/MediaBrowserServiceCompat$2;
.super Landroidx/media/MediaBrowserServiceCompat$Result;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/media/MediaBrowserServiceCompat;->performLoadItem(Ljava/lang/String;Landroidx/media/MediaBrowserServiceCompat$ConnectionRecord;Landroid/support/v4/os/ResultReceiver;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/media/MediaBrowserServiceCompat$Result<",
"Landroid/support/v4/media/MediaBrowserCompat$MediaItem;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Landroidx/media/MediaBrowserServiceCompat;
.field final synthetic val$receiver:Landroid/support/v4/os/ResultReceiver;
# direct methods
.method constructor <init>(Landroidx/media/MediaBrowserServiceCompat;Ljava/lang/Object;Landroid/support/v4/os/ResultReceiver;)V
.locals 0
iput-object p1, p0, Landroidx/media/MediaBrowserServiceCompat$2;->this$0:Landroidx/media/MediaBrowserServiceCompat;
iput-object p3, p0, Landroidx/media/MediaBrowserServiceCompat$2;->val$receiver:Landroid/support/v4/os/ResultReceiver;
invoke-direct {p0, p2}, Landroidx/media/MediaBrowserServiceCompat$Result;-><init>(Ljava/lang/Object;)V
return-void
.end method
# virtual methods
.method onResultSent(Landroid/support/v4/media/MediaBrowserCompat$MediaItem;)V
.locals 2
invoke-virtual {p0}, Landroidx/media/MediaBrowserServiceCompat$2;->getFlags()I
move-result v0
and-int/lit8 v0, v0, 0x2
if-eqz v0, :cond_0
iget-object p1, p0, Landroidx/media/MediaBrowserServiceCompat$2;->val$receiver:Landroid/support/v4/os/ResultReceiver;
const/4 v0, -0x1
const/4 v1, 0x0
invoke-virtual {p1, v0, v1}, Landroid/support/v4/os/ResultReceiver;->send(ILandroid/os/Bundle;)V
return-void
:cond_0
new-instance v0, Landroid/os/Bundle;
invoke-direct {v0}, Landroid/os/Bundle;-><init>()V
const-string v1, "media_item"
invoke-virtual {v0, v1, p1}, Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V
iget-object p1, p0, Landroidx/media/MediaBrowserServiceCompat$2;->val$receiver:Landroid/support/v4/os/ResultReceiver;
const/4 v1, 0x0
invoke-virtual {p1, v1, v0}, Landroid/support/v4/os/ResultReceiver;->send(ILandroid/os/Bundle;)V
return-void
.end method
.method bridge synthetic onResultSent(Ljava/lang/Object;)V
.locals 0
check-cast p1, Landroid/support/v4/media/MediaBrowserCompat$MediaItem;
invoke-virtual {p0, p1}, Landroidx/media/MediaBrowserServiceCompat$2;->onResultSent(Landroid/support/v4/media/MediaBrowserCompat$MediaItem;)V
return-void
.end method