Skip to content

Call MediaControllerCompat.Callback#onSessionEvent from MediaLibraryService #293

Closed

Description

@Yangwoqizuo

A function calling onSessionEvent is needed(maybe broadcastCustomCommand?)
PS:
MediaControllerImplLegacy#onSessionEvent will call onCustomCommand(means MediaBrowserService can call Media3's onCustomCommand)
, so is there any way to let MediaLibraryService call MediaControllerCompat.Callback#onSessionEvent?
(Media3's MediaLibraryService call legacy MediaController's onSessionEvent)

Activity

  1. self-assigned this
    on Apr 4, 2023
  2. tonihei commented on Apr 4, 2023

    @tonihei
    Collaborator

    Thanks for the request! This looks like an oversight that should be added to the library as you described. I'll mark it as a bug and we can fix it in the next release.

  3. locked and limited conversation to collaborators on Jun 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions