Skip to content

Commit

Permalink
Fix bug(The event for UNREGISTER_CLIENT message is not correct#48) (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
shilinding authored Nov 24, 2023
1 parent e01eea4 commit 55c4baa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class MediaSessionHandlerMessengerService() : Service() {
override fun handleMessage(msg: Message) {
when (msg.what) {
SessionHandlerMessageTypes.REGISTER_CLIENT -> registerClient(msg)
SessionHandlerMessageTypes.UNREGISTER_CLIENT -> registerClient(msg)
SessionHandlerMessageTypes.UNREGISTER_CLIENT -> unregisterClient(msg)
SessionHandlerMessageTypes.STATUS_MESSAGE -> handleStatusMessage(msg)
SessionHandlerMessageTypes.START_PLAYBACK_BY_SERVICE_LIST_ENTRY_MESSAGE -> handleStartPlaybackByServiceListEntryMessage(
msg
Expand Down

0 comments on commit 55c4baa

Please sign in to comment.