* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
848 lines
16 KiB
Smali
848 lines
16 KiB
Smali
.class public abstract Landroid/support/v4/media/session/MediaSessionCompat$Callback;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroid/support/v4/media/session/MediaSessionCompat;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x409
|
|
name = "Callback"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroid/support/v4/media/session/MediaSessionCompat$Callback$CallbackHandler;,
|
|
Landroid/support/v4/media/session/MediaSessionCompat$Callback$MediaSessionCallbackApi21;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final mCallbackFwk:Landroid/media/session/MediaSession$Callback;
|
|
|
|
.field mCallbackHandler:Landroid/support/v4/media/session/MediaSessionCompat$Callback$CallbackHandler;
|
|
.annotation build Landroidx/annotation/GuardedBy;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field final mLock:Ljava/lang/Object;
|
|
|
|
.field private mMediaPlayPausePendingOnHandler:Z
|
|
|
|
.field mSessionImpl:Ljava/lang/ref/WeakReference;
|
|
.annotation build Landroidx/annotation/GuardedBy;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/ref/WeakReference<",
|
|
"Landroid/support/v4/media/session/MediaSessionCompat$MediaSessionImpl;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
new-instance v0, Ljava/lang/Object;
|
|
|
|
.line 5
|
|
.line 6
|
|
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
iput-object v0, p0, Landroid/support/v4/media/session/MediaSessionCompat$Callback;->mLock:Ljava/lang/Object;
|
|
|
|
.line 10
|
|
.line 11
|
|
new-instance v0, Landroid/support/v4/media/session/MediaSessionCompat$Callback$MediaSessionCallbackApi21;
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-direct {v0, p0}, Landroid/support/v4/media/session/MediaSessionCompat$Callback$MediaSessionCallbackApi21;-><init>(Landroid/support/v4/media/session/MediaSessionCompat$Callback;)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
iput-object v0, p0, Landroid/support/v4/media/session/MediaSessionCompat$Callback;->mCallbackFwk:Landroid/media/session/MediaSession$Callback;
|
|
|
|
.line 17
|
|
.line 18
|
|
new-instance v0, Ljava/lang/ref/WeakReference;
|
|
|
|
.line 19
|
|
.line 20
|
|
const/4 v1, 0x0
|
|
|
|
.line 21
|
|
invoke-direct {v0, v1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
iput-object v0, p0, Landroid/support/v4/media/session/MediaSessionCompat$Callback;->mSessionImpl:Ljava/lang/ref/WeakReference;
|
|
|
|
.line 25
|
|
.line 26
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public handleMediaPlayPauseIfPendingOnHandler(Landroid/support/v4/media/session/MediaSessionCompat$MediaSessionImpl;Landroid/os/Handler;)V
|
|
.locals 8
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Landroid/support/v4/media/session/MediaSessionCompat$Callback;->mMediaPlayPausePendingOnHandler:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
if-nez v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
goto :goto_3
|
|
|
|
.line 6
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 7
|
|
iput-boolean v0, p0, Landroid/support/v4/media/session/MediaSessionCompat$Callback;->mMediaPlayPausePendingOnHandler:Z
|
|
|
|
.line 8
|
|
.line 9
|
|
const/4 v1, 0x1
|
|
|
|
.line 10
|
|
invoke-virtual {p2, v1}, Landroid/os/Handler;->removeMessages(I)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
invoke-interface {p1}, Landroid/support/v4/media/session/MediaSessionCompat$MediaSessionImpl;->getPlaybackState()Landroid/support/v4/media/session/PlaybackStateCompat;
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result-object p1
|
|
|
|
.line 17
|
|
const-wide/16 v2, 0x0
|
|
|
|
.line 18
|
|
.line 19
|
|
if-nez p1, :cond_1
|
|
|
|
.line 20
|
|
.line 21
|
|
move-wide v4, v2
|
|
|
|
.line 22
|
|
goto :goto_0
|
|
|
|
.line 23
|
|
:cond_1
|
|
invoke-virtual {p1}, Landroid/support/v4/media/session/PlaybackStateCompat;->getActions()J
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result-wide v4
|
|
|
|
.line 27
|
|
:goto_0
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-virtual {p1}, Landroid/support/v4/media/session/PlaybackStateCompat;->getState()I
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result p1
|
|
|
|
.line 33
|
|
const/4 p2, 0x3
|
|
|
|
.line 34
|
|
if-ne p1, p2, :cond_2
|
|
|
|
.line 35
|
|
.line 36
|
|
move p1, v1
|
|
|
|
.line 37
|
|
goto :goto_1
|
|
|
|
.line 38
|
|
:cond_2
|
|
move p1, v0
|
|
|
|
.line 39
|
|
:goto_1
|
|
const-wide/16 v6, 0x204
|
|
|
|
.line 40
|
|
.line 41
|
|
and-long/2addr v6, v4
|
|
|
|
.line 42
|
|
cmp-long p2, v6, v2
|
|
|
|
.line 43
|
|
.line 44
|
|
if-eqz p2, :cond_3
|
|
|
|
.line 45
|
|
.line 46
|
|
move p2, v1
|
|
|
|
.line 47
|
|
goto :goto_2
|
|
|
|
.line 48
|
|
:cond_3
|
|
move p2, v0
|
|
|
|
.line 49
|
|
:goto_2
|
|
const-wide/16 v6, 0x202
|
|
|
|
.line 50
|
|
.line 51
|
|
and-long/2addr v4, v6
|
|
|
|
.line 52
|
|
cmp-long v2, v4, v2
|
|
|
|
.line 53
|
|
.line 54
|
|
if-eqz v2, :cond_4
|
|
|
|
.line 55
|
|
.line 56
|
|
move v0, v1
|
|
|
|
.line 57
|
|
:cond_4
|
|
if-eqz p1, :cond_5
|
|
|
|
.line 58
|
|
.line 59
|
|
if-eqz v0, :cond_5
|
|
|
|
.line 60
|
|
.line 61
|
|
invoke-virtual {p0}, Landroid/support/v4/media/session/MediaSessionCompat$Callback;->onPause()V
|
|
|
|
.line 62
|
|
.line 63
|
|
.line 64
|
|
return-void
|
|
|
|
.line 65
|
|
:cond_5
|
|
if-nez p1, :cond_6
|
|
|
|
.line 66
|
|
.line 67
|
|
if-eqz p2, :cond_6
|
|
|
|
.line 68
|
|
.line 69
|
|
invoke-virtual {p0}, Landroid/support/v4/media/session/MediaSessionCompat$Callback;->onPlay()V
|
|
|
|
.line 70
|
|
.line 71
|
|
.line 72
|
|
:cond_6
|
|
:goto_3
|
|
return-void
|
|
.end method
|
|
|
|
.method public onAddQueueItem(Landroid/support/v4/media/MediaDescriptionCompat;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
return-void
|
|
.end method
|
|
|
|
.method public onAddQueueItem(Landroid/support/v4/media/MediaDescriptionCompat;I)V
|
|
.locals 0
|
|
|
|
.line 2
|
|
return-void
|
|
.end method
|
|
|
|
.method public onCommand(Ljava/lang/String;Landroid/os/Bundle;Landroid/os/ResultReceiver;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onCustomAction(Ljava/lang/String;Landroid/os/Bundle;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onFastForward()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onMediaButtonEvent(Landroid/content/Intent;)Z
|
|
.locals 7
|
|
|
|
.line 1
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
.line 2
|
|
.line 3
|
|
const/16 v1, 0x1b
|
|
|
|
.line 4
|
|
.line 5
|
|
const/4 v2, 0x0
|
|
|
|
.line 6
|
|
if-lt v0, v1, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
return v2
|
|
|
|
.line 9
|
|
:cond_0
|
|
iget-object v0, p0, Landroid/support/v4/media/session/MediaSessionCompat$Callback;->mLock:Ljava/lang/Object;
|
|
|
|
.line 10
|
|
.line 11
|
|
monitor-enter v0
|
|
|
|
.line 12
|
|
:try_start_0
|
|
iget-object v1, p0, Landroid/support/v4/media/session/MediaSessionCompat$Callback;->mSessionImpl:Ljava/lang/ref/WeakReference;
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-virtual {v1}, Ljava/lang/ref/Reference;->get()Ljava/lang/Object;
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result-object v1
|
|
|
|
.line 18
|
|
check-cast v1, Landroid/support/v4/media/session/MediaSessionCompat$MediaSessionImpl;
|
|
|
|
.line 19
|
|
.line 20
|
|
iget-object v3, p0, Landroid/support/v4/media/session/MediaSessionCompat$Callback;->mCallbackHandler:Landroid/support/v4/media/session/MediaSessionCompat$Callback$CallbackHandler;
|
|
|
|
.line 21
|
|
.line 22
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 23
|
|
if-eqz v1, :cond_8
|
|
|
|
.line 24
|
|
.line 25
|
|
if-nez v3, :cond_1
|
|
|
|
.line 26
|
|
.line 27
|
|
goto :goto_2
|
|
|
|
.line 28
|
|
:cond_1
|
|
const-string v0, "android.intent.extra.KEY_EVENT"
|
|
|
|
.line 29
|
|
.line 30
|
|
invoke-virtual {p1, v0}, Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
move-result-object p1
|
|
|
|
.line 34
|
|
check-cast p1, Landroid/view/KeyEvent;
|
|
|
|
.line 35
|
|
.line 36
|
|
if-eqz p1, :cond_8
|
|
|
|
.line 37
|
|
.line 38
|
|
invoke-virtual {p1}, Landroid/view/KeyEvent;->getAction()I
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
move-result v0
|
|
|
|
.line 42
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 43
|
|
.line 44
|
|
goto :goto_2
|
|
|
|
.line 45
|
|
:cond_2
|
|
invoke-interface {v1}, Landroid/support/v4/media/session/MediaSessionCompat$MediaSessionImpl;->getCurrentControllerInfo()Landroidx/media/MediaSessionManager$RemoteUserInfo;
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
move-result-object v0
|
|
|
|
.line 49
|
|
invoke-virtual {p1}, Landroid/view/KeyEvent;->getKeyCode()I
|
|
|
|
.line 50
|
|
.line 51
|
|
.line 52
|
|
move-result v4
|
|
|
|
.line 53
|
|
const/16 v5, 0x4f
|
|
|
|
.line 54
|
|
.line 55
|
|
if-eq v4, v5, :cond_3
|
|
|
|
.line 56
|
|
.line 57
|
|
const/16 v5, 0x55
|
|
|
|
.line 58
|
|
.line 59
|
|
if-eq v4, v5, :cond_3
|
|
|
|
.line 60
|
|
.line 61
|
|
invoke-virtual {p0, v1, v3}, Landroid/support/v4/media/session/MediaSessionCompat$Callback;->handleMediaPlayPauseIfPendingOnHandler(Landroid/support/v4/media/session/MediaSessionCompat$MediaSessionImpl;Landroid/os/Handler;)V
|
|
|
|
.line 62
|
|
.line 63
|
|
.line 64
|
|
return v2
|
|
|
|
.line 65
|
|
:cond_3
|
|
invoke-virtual {p1}, Landroid/view/KeyEvent;->getRepeatCount()I
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
move-result p1
|
|
|
|
.line 69
|
|
const/4 v4, 0x1
|
|
|
|
.line 70
|
|
if-nez p1, :cond_6
|
|
|
|
.line 71
|
|
.line 72
|
|
iget-boolean p1, p0, Landroid/support/v4/media/session/MediaSessionCompat$Callback;->mMediaPlayPausePendingOnHandler:Z
|
|
|
|
.line 73
|
|
.line 74
|
|
if-eqz p1, :cond_5
|
|
|
|
.line 75
|
|
.line 76
|
|
invoke-virtual {v3, v4}, Landroid/os/Handler;->removeMessages(I)V
|
|
|
|
.line 77
|
|
.line 78
|
|
.line 79
|
|
iput-boolean v2, p0, Landroid/support/v4/media/session/MediaSessionCompat$Callback;->mMediaPlayPausePendingOnHandler:Z
|
|
|
|
.line 80
|
|
.line 81
|
|
invoke-interface {v1}, Landroid/support/v4/media/session/MediaSessionCompat$MediaSessionImpl;->getPlaybackState()Landroid/support/v4/media/session/PlaybackStateCompat;
|
|
|
|
.line 82
|
|
.line 83
|
|
.line 84
|
|
move-result-object p1
|
|
|
|
.line 85
|
|
const-wide/16 v0, 0x0
|
|
|
|
.line 86
|
|
.line 87
|
|
if-nez p1, :cond_4
|
|
|
|
.line 88
|
|
.line 89
|
|
move-wide v2, v0
|
|
|
|
.line 90
|
|
goto :goto_0
|
|
|
|
.line 91
|
|
:cond_4
|
|
invoke-virtual {p1}, Landroid/support/v4/media/session/PlaybackStateCompat;->getActions()J
|
|
|
|
.line 92
|
|
.line 93
|
|
.line 94
|
|
move-result-wide v2
|
|
|
|
.line 95
|
|
:goto_0
|
|
const-wide/16 v5, 0x20
|
|
|
|
.line 96
|
|
.line 97
|
|
and-long/2addr v2, v5
|
|
|
|
.line 98
|
|
cmp-long p1, v2, v0
|
|
|
|
.line 99
|
|
.line 100
|
|
if-eqz p1, :cond_7
|
|
|
|
.line 101
|
|
.line 102
|
|
invoke-virtual {p0}, Landroid/support/v4/media/session/MediaSessionCompat$Callback;->onSkipToNext()V
|
|
|
|
.line 103
|
|
.line 104
|
|
.line 105
|
|
goto :goto_1
|
|
|
|
.line 106
|
|
:cond_5
|
|
iput-boolean v4, p0, Landroid/support/v4/media/session/MediaSessionCompat$Callback;->mMediaPlayPausePendingOnHandler:Z
|
|
|
|
.line 107
|
|
.line 108
|
|
invoke-virtual {v3, v4, v0}, Landroid/os/Handler;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;
|
|
|
|
.line 109
|
|
.line 110
|
|
.line 111
|
|
move-result-object p1
|
|
|
|
.line 112
|
|
invoke-static {}, Landroid/view/ViewConfiguration;->getDoubleTapTimeout()I
|
|
|
|
.line 113
|
|
.line 114
|
|
.line 115
|
|
move-result v0
|
|
|
|
.line 116
|
|
int-to-long v0, v0
|
|
|
|
.line 117
|
|
invoke-virtual {v3, p1, v0, v1}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z
|
|
|
|
.line 118
|
|
.line 119
|
|
.line 120
|
|
goto :goto_1
|
|
|
|
.line 121
|
|
:cond_6
|
|
invoke-virtual {p0, v1, v3}, Landroid/support/v4/media/session/MediaSessionCompat$Callback;->handleMediaPlayPauseIfPendingOnHandler(Landroid/support/v4/media/session/MediaSessionCompat$MediaSessionImpl;Landroid/os/Handler;)V
|
|
|
|
.line 122
|
|
.line 123
|
|
.line 124
|
|
:cond_7
|
|
:goto_1
|
|
return v4
|
|
|
|
.line 125
|
|
:cond_8
|
|
:goto_2
|
|
return v2
|
|
|
|
.line 126
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 127
|
|
:try_start_1
|
|
monitor-exit v0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 128
|
|
throw p1
|
|
.end method
|
|
|
|
.method public onPause()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onPlay()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onPlayFromMediaId(Ljava/lang/String;Landroid/os/Bundle;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onPlayFromSearch(Ljava/lang/String;Landroid/os/Bundle;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onPlayFromUri(Landroid/net/Uri;Landroid/os/Bundle;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onPrepare()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onPrepareFromMediaId(Ljava/lang/String;Landroid/os/Bundle;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onPrepareFromSearch(Ljava/lang/String;Landroid/os/Bundle;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onPrepareFromUri(Landroid/net/Uri;Landroid/os/Bundle;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onRemoveQueueItem(Landroid/support/v4/media/MediaDescriptionCompat;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onRemoveQueueItemAt(I)V
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onRewind()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onSeekTo(J)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onSetCaptioningEnabled(Z)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onSetPlaybackSpeed(F)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onSetRating(Landroid/support/v4/media/RatingCompat;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
return-void
|
|
.end method
|
|
|
|
.method public onSetRating(Landroid/support/v4/media/RatingCompat;Landroid/os/Bundle;)V
|
|
.locals 0
|
|
|
|
.line 2
|
|
return-void
|
|
.end method
|
|
|
|
.method public onSetRepeatMode(I)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onSetShuffleMode(I)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onSkipToNext()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onSkipToPrevious()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onSkipToQueueItem(J)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onStop()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSessionImpl(Landroid/support/v4/media/session/MediaSessionCompat$MediaSessionImpl;Landroid/os/Handler;)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroid/support/v4/media/session/MediaSessionCompat$Callback;->mLock:Ljava/lang/Object;
|
|
|
|
.line 2
|
|
.line 3
|
|
monitor-enter v0
|
|
|
|
.line 4
|
|
:try_start_0
|
|
new-instance v1, Ljava/lang/ref/WeakReference;
|
|
|
|
.line 5
|
|
.line 6
|
|
invoke-direct {v1, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
iput-object v1, p0, Landroid/support/v4/media/session/MediaSessionCompat$Callback;->mSessionImpl:Ljava/lang/ref/WeakReference;
|
|
|
|
.line 10
|
|
.line 11
|
|
iget-object v1, p0, Landroid/support/v4/media/session/MediaSessionCompat$Callback;->mCallbackHandler:Landroid/support/v4/media/session/MediaSessionCompat$Callback$CallbackHandler;
|
|
|
|
.line 12
|
|
.line 13
|
|
const/4 v2, 0x0
|
|
|
|
.line 14
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-virtual {v1, v2}, Landroid/os/Handler;->removeCallbacksAndMessages(Ljava/lang/Object;)V
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
goto :goto_0
|
|
|
|
.line 20
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 21
|
|
goto :goto_2
|
|
|
|
.line 22
|
|
:cond_0
|
|
:goto_0
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 23
|
|
.line 24
|
|
if-nez p2, :cond_1
|
|
|
|
.line 25
|
|
.line 26
|
|
goto :goto_1
|
|
|
|
.line 27
|
|
:cond_1
|
|
new-instance v2, Landroid/support/v4/media/session/MediaSessionCompat$Callback$CallbackHandler;
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-virtual {p2}, Landroid/os/Handler;->getLooper()Landroid/os/Looper;
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result-object p1
|
|
|
|
.line 33
|
|
invoke-direct {v2, p0, p1}, Landroid/support/v4/media/session/MediaSessionCompat$Callback$CallbackHandler;-><init>(Landroid/support/v4/media/session/MediaSessionCompat$Callback;Landroid/os/Looper;)V
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
:cond_2
|
|
:goto_1
|
|
iput-object v2, p0, Landroid/support/v4/media/session/MediaSessionCompat$Callback;->mCallbackHandler:Landroid/support/v4/media/session/MediaSessionCompat$Callback$CallbackHandler;
|
|
|
|
.line 37
|
|
.line 38
|
|
monitor-exit v0
|
|
|
|
.line 39
|
|
return-void
|
|
|
|
.line 40
|
|
:goto_2
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 41
|
|
throw p1
|
|
.end method
|