Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions android/app/src/main/assets/changelog.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
[
{
"versionName": "1.0.10",
"releaseDate": "21/01/2026",
"features": [

],
"fixes": [
"Fix an Android Auto issue where library wasn't displayed correctly"
],
"improvements": [
],
"notes": [
"What's up? I want to make Shuttle great again. I just need more hours in the day, and more days in the week!"
]
},
{
"versionName": "1.0.9",
"releaseDate": "15/01/2026",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class PlaybackService :

private var delayedShutdownHandler: Handler? = null

private val packageValidator: PackageValidator by lazy { PackageValidator(this) }
private val packageValidator: PackageValidator by lazy { PackageValidator(this, R.xml.allowed_media_browser_callers) }

private val coroutineScope = CoroutineScope(Dispatchers.Main)

Expand Down Expand Up @@ -310,7 +310,7 @@ class PlaybackService :
clientPackageName: String,
clientUid: Int,
rootHints: Bundle?
): BrowserRoot? = if (packageValidator.isCallerAllowed(this, clientPackageName, clientUid)) {
): BrowserRoot? = if (packageValidator.isKnownCaller(clientPackageName, clientUid)) {
BrowserRoot("media:/root/", null)
} else {
Timber.v("OnGetRoot: Browsing NOT ALLOWED for unknown caller. Returning empty browser root so all apps can use MediaController. $clientPackageName")
Expand Down

This file was deleted.

This file was deleted.

Loading