97 lines
2.8 KiB
Smali
97 lines
2.8 KiB
Smali
.class Landroidx/media/MediaBrowserServiceCompatApi26;
|
|
.super Ljava/lang/Object;
|
|
.source "MediaBrowserServiceCompatApi26.java"
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x1a
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/media/MediaBrowserServiceCompatApi26$MediaBrowserServiceAdaptor;,
|
|
Landroidx/media/MediaBrowserServiceCompatApi26$ResultWrapper;,
|
|
Landroidx/media/MediaBrowserServiceCompatApi26$ServiceCompatProxy;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final TAG:Ljava/lang/String; = "MBSCompatApi26"
|
|
|
|
.field static sResultFlags:Ljava/lang/reflect/Field;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
:try_start_0
|
|
const-class v0, Landroid/service/media/MediaBrowserService$Result;
|
|
|
|
const-string v1, "mFlags"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Landroidx/media/MediaBrowserServiceCompatApi26;->sResultFlags:Ljava/lang/reflect/Field;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/reflect/Field;->setAccessible(Z)V
|
|
:try_end_0
|
|
.catch Ljava/lang/NoSuchFieldException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
const-string v1, "MBSCompatApi26"
|
|
|
|
invoke-static {v1, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static createService(Landroid/content/Context;Landroidx/media/MediaBrowserServiceCompatApi26$ServiceCompatProxy;)Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
new-instance v0, Landroidx/media/MediaBrowserServiceCompatApi26$MediaBrowserServiceAdaptor;
|
|
|
|
invoke-direct {v0, p0, p1}, Landroidx/media/MediaBrowserServiceCompatApi26$MediaBrowserServiceAdaptor;-><init>(Landroid/content/Context;Landroidx/media/MediaBrowserServiceCompatApi26$ServiceCompatProxy;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static getBrowserRootHints(Ljava/lang/Object;)Landroid/os/Bundle;
|
|
.locals 0
|
|
|
|
check-cast p0, Landroid/service/media/MediaBrowserService;
|
|
|
|
invoke-virtual {p0}, Landroid/service/media/MediaBrowserService;->getBrowserRootHints()Landroid/os/Bundle;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static notifyChildrenChanged(Ljava/lang/Object;Ljava/lang/String;Landroid/os/Bundle;)V
|
|
.locals 0
|
|
|
|
check-cast p0, Landroid/service/media/MediaBrowserService;
|
|
|
|
invoke-virtual {p0, p1, p2}, Landroid/service/media/MediaBrowserService;->notifyChildrenChanged(Ljava/lang/String;Landroid/os/Bundle;)V
|
|
|
|
return-void
|
|
.end method
|