Skip to content

Commit

Permalink
master - Fixed bug with nullable intent.
Browse files Browse the repository at this point in the history
  • Loading branch information
masterwok committed Sep 26, 2018
1 parent ec6f9d9 commit 427b547
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,11 @@ class MediaPlayerService : InjectableService(), MediaPlayer.Callback, Dialog.Cal
rendererItemObservable?.start()
}

override fun onStartCommand(intent: Intent, flags: Int, startId: Int): Int {
override fun onStartCommand(
intent: Intent?
, flags: Int
, startId: Int
): Int {
// Pass notification button intents to the media session callback.
MediaButtonReceiver.handleIntent(mediaSession, intent)

Expand Down

0 comments on commit 427b547

Please sign in to comment.