2019-02-04 20:08:30 +00:00
|
|
|
.class Landroid/support/v4/media/MediaBrowserCompat$SearchResultReceiver;
|
|
|
|
.super Landroid/support/v4/os/ResultReceiver;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "MediaBrowserCompat.java"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Landroid/support/v4/media/MediaBrowserCompat;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x8
|
|
|
|
name = "SearchResultReceiver"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final onReceiveResult(ILandroid/os/Bundle;)V
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
invoke-static {p2}, Landroid/support/v4/media/session/MediaSessionCompat;->b(Landroid/os/Bundle;)V
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
if-nez p1, :cond_1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
if-eqz p2, :cond_1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-string p1, "search_results"
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
move-result v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
if-nez v0, :cond_0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p2, p1}, Landroid/os/Bundle;->getParcelableArray(Ljava/lang/String;)[Landroid/os/Parcelable;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
new-instance p2, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
|
|
|
array-length v0, p1
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v1, v0, :cond_1
|
|
|
|
|
|
|
|
aget-object v2, p1, v1
|
|
|
|
|
|
|
|
check-cast v2, Landroid/support/v4/media/MediaBrowserCompat$MediaItem;
|
|
|
|
|
|
|
|
invoke-interface {p2, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_1
|
|
|
|
return-void
|
|
|
|
.end method
|