apkfuckery/com.discord/smali/androidx/media/MediaBrowserServiceCompat$MediaBrowserServiceImplApi28.smali
2020-11-12 02:11:44 +00:00

65 lines
2.3 KiB
Smali

.class public Landroidx/media/MediaBrowserServiceCompat$MediaBrowserServiceImplApi28;
.super Landroidx/media/MediaBrowserServiceCompat$MediaBrowserServiceImplApi26;
.source "MediaBrowserServiceCompat.java"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x1c
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/media/MediaBrowserServiceCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "MediaBrowserServiceImplApi28"
.end annotation
# instance fields
.field public final synthetic this$0:Landroidx/media/MediaBrowserServiceCompat;
# direct methods
.method public constructor <init>(Landroidx/media/MediaBrowserServiceCompat;)V
.locals 0
iput-object p1, p0, Landroidx/media/MediaBrowserServiceCompat$MediaBrowserServiceImplApi28;->this$0:Landroidx/media/MediaBrowserServiceCompat;
invoke-direct {p0, p1}, Landroidx/media/MediaBrowserServiceCompat$MediaBrowserServiceImplApi26;-><init>(Landroidx/media/MediaBrowserServiceCompat;)V
return-void
.end method
# virtual methods
.method public getCurrentBrowserInfo()Landroidx/media/MediaSessionManager$RemoteUserInfo;
.locals 2
iget-object v0, p0, Landroidx/media/MediaBrowserServiceCompat$MediaBrowserServiceImplApi28;->this$0:Landroidx/media/MediaBrowserServiceCompat;
iget-object v0, v0, Landroidx/media/MediaBrowserServiceCompat;->mCurConnection:Landroidx/media/MediaBrowserServiceCompat$ConnectionRecord;
if-eqz v0, :cond_0
iget-object v0, v0, Landroidx/media/MediaBrowserServiceCompat$ConnectionRecord;->browserInfo:Landroidx/media/MediaSessionManager$RemoteUserInfo;
return-object v0
:cond_0
iget-object v0, p0, Landroidx/media/MediaBrowserServiceCompat$MediaBrowserServiceImplApi21;->mServiceObj:Ljava/lang/Object;
check-cast v0, Landroid/service/media/MediaBrowserService;
invoke-virtual {v0}, Landroid/service/media/MediaBrowserService;->getCurrentBrowserInfo()Landroid/media/session/MediaSessionManager$RemoteUserInfo;
move-result-object v0
new-instance v1, Landroidx/media/MediaSessionManager$RemoteUserInfo;
invoke-direct {v1, v0}, Landroidx/media/MediaSessionManager$RemoteUserInfo;-><init>(Landroid/media/session/MediaSessionManager$RemoteUserInfo;)V
return-object v1
.end method