117 lines
3.8 KiB
Smali
117 lines
3.8 KiB
Smali
.class final Landroid/support/v4/media/MediaBrowserCompat$h$2;
|
|
.super Ljava/lang/Object;
|
|
.source "MediaBrowserCompat.java"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Landroid/support/v4/media/MediaBrowserCompat$h;->disconnect()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic H:Landroid/support/v4/media/MediaBrowserCompat$h;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Landroid/support/v4/media/MediaBrowserCompat$h;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Landroid/support/v4/media/MediaBrowserCompat$h$2;->H:Landroid/support/v4/media/MediaBrowserCompat$h;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final run()V
|
|
.locals 5
|
|
|
|
iget-object v0, p0, Landroid/support/v4/media/MediaBrowserCompat$h$2;->H:Landroid/support/v4/media/MediaBrowserCompat$h;
|
|
|
|
iget-object v0, v0, Landroid/support/v4/media/MediaBrowserCompat$h;->B:Landroid/os/Messenger;
|
|
|
|
const-string v1, "MediaBrowserCompat"
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Landroid/support/v4/media/MediaBrowserCompat$h$2;->H:Landroid/support/v4/media/MediaBrowserCompat$h;
|
|
|
|
iget-object v0, v0, Landroid/support/v4/media/MediaBrowserCompat$h;->A:Landroid/support/v4/media/MediaBrowserCompat$j;
|
|
|
|
iget-object v2, p0, Landroid/support/v4/media/MediaBrowserCompat$h$2;->H:Landroid/support/v4/media/MediaBrowserCompat$h;
|
|
|
|
iget-object v2, v2, Landroid/support/v4/media/MediaBrowserCompat$h;->B:Landroid/os/Messenger;
|
|
|
|
const/4 v3, 0x2
|
|
|
|
const/4 v4, 0x0
|
|
|
|
invoke-virtual {v0, v3, v4, v2}, Landroid/support/v4/media/MediaBrowserCompat$j;->a(ILandroid/os/Bundle;Landroid/os/Messenger;)V
|
|
:try_end_0
|
|
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "RemoteException during connect for "
|
|
|
|
invoke-direct {v0, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-object v2, p0, Landroid/support/v4/media/MediaBrowserCompat$h$2;->H:Landroid/support/v4/media/MediaBrowserCompat$h;
|
|
|
|
iget-object v2, v2, Landroid/support/v4/media/MediaBrowserCompat$h;->E:Landroid/content/ComponentName;
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v1, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
:cond_0
|
|
:goto_0
|
|
iget-object v0, p0, Landroid/support/v4/media/MediaBrowserCompat$h$2;->H:Landroid/support/v4/media/MediaBrowserCompat$h;
|
|
|
|
iget v0, v0, Landroid/support/v4/media/MediaBrowserCompat$h;->mState:I
|
|
|
|
iget-object v2, p0, Landroid/support/v4/media/MediaBrowserCompat$h$2;->H:Landroid/support/v4/media/MediaBrowserCompat$h;
|
|
|
|
invoke-virtual {v2}, Landroid/support/v4/media/MediaBrowserCompat$h;->a()V
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v2, p0, Landroid/support/v4/media/MediaBrowserCompat$h$2;->H:Landroid/support/v4/media/MediaBrowserCompat$h;
|
|
|
|
iput v0, v2, Landroid/support/v4/media/MediaBrowserCompat$h;->mState:I
|
|
|
|
:cond_1
|
|
sget-boolean v0, Landroid/support/v4/media/MediaBrowserCompat;->DEBUG:Z
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
const-string v0, "disconnect..."
|
|
|
|
invoke-static {v1, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
iget-object v0, p0, Landroid/support/v4/media/MediaBrowserCompat$h$2;->H:Landroid/support/v4/media/MediaBrowserCompat$h;
|
|
|
|
invoke-virtual {v0}, Landroid/support/v4/media/MediaBrowserCompat$h;->dump()V
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|