Skip to content

Commit

Permalink
fix ShadowMediaSession
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutoshgngwr committed Jun 2, 2024
1 parent dfe77f9 commit 88200c9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ class ShadowMediaSession : Player.Listener {
customLayout: ImmutableList<CommandButton>,
callback: MediaSession.Callback,
tokenExtras: Bundle,
sessionExtras: Bundle,
bitmapLoader: BitmapLoader,
playIfSuppressed: Boolean,
isPeriodicPositionUpdateEnabled: Boolean,
Expand All @@ -63,6 +64,7 @@ class ShadowMediaSession : Player.Listener {
ReflectionHelpers.ClassParameter.from(ImmutableList::class.java, customLayout),
ReflectionHelpers.ClassParameter.from(MediaSession.Callback::class.java, callback),
ReflectionHelpers.ClassParameter.from(Bundle::class.java, tokenExtras),
ReflectionHelpers.ClassParameter.from(Bundle::class.java, sessionExtras),
ReflectionHelpers.ClassParameter.from(BitmapLoader::class.java, bitmapLoader),
ReflectionHelpers.ClassParameter.from(Boolean::class.javaPrimitiveType, playIfSuppressed),
ReflectionHelpers.ClassParameter.from(
Expand Down

0 comments on commit 88200c9

Please sign in to comment.