mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Hidden custom commands in notification
This commit is contained in:
parent
2b12f900f9
commit
1e5bb289e2
1 changed files with 2 additions and 1 deletions
|
|
@ -71,7 +71,8 @@ class MediaService : MediaLibraryService(), SessionAvailabilityListener {
|
||||||
val availableSessionCommands = connectionResult.availableSessionCommands.buildUpon()
|
val availableSessionCommands = connectionResult.availableSessionCommands.buildUpon()
|
||||||
|
|
||||||
customCommands.forEach { commandButton ->
|
customCommands.forEach { commandButton ->
|
||||||
commandButton.sessionCommand?.let { availableSessionCommands.add(it) }
|
// TODO: Aggiungere i comandi personalizzati
|
||||||
|
// commandButton.sessionCommand?.let { availableSessionCommands.add(it) }
|
||||||
}
|
}
|
||||||
|
|
||||||
return MediaSession.ConnectionResult.accept(
|
return MediaSession.ConnectionResult.accept(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue