1. 28 Feb, 2023 18 commits
  2. 16 Feb, 2023 3 commits
  3. 15 Feb, 2023 1 commit
  4. 14 Feb, 2023 2 commits
  5. 02 Feb, 2023 6 commits
  6. 26 Jan, 2023 4 commits
  7. 25 Jan, 2023 6 commits
    • Undo unreleased changes from transforming-media.md · 128fed81
      The "Transforming media" page has been updated with changes that won't
      be part of the next release. Undo these changes so that this page is
      consistent with the latest release.
      
      PiperOrigin-RevId: 503917637
      (cherry picked from commit fdf86661)
      kimvde committed
    • Explicitly document most Player.Listener methods in terms of getters · 197109eb
      This makes it implicitly clear that if the value of a getter changes due
      to a change in command availability then the listener will be invoked,
      without needing to explicitly document every command on every listener
      method.
      
      #minor-release
      
      PiperOrigin-RevId: 503178383
      (cherry picked from commit aa23920e)
      ibaker committed
    • Extend command GET_CURRENT_MEDIA_ITEM to more methods. · b1693860
      We currently only document it for the getCurrentMediaItem(), but
      the command was always meant to cover all information about the
      current media item and the position therein.
      
      To correctly hide information for controllers, we need to filter
      the Timeline when bundling the PlayerInfo class if only this
      command is available.
      
      PiperOrigin-RevId: 503098124
      (cherry picked from commit 5e9c9ed2)
      tonihei committed
    • Correctly filter PlayerInfo by available getter commands. · ea1301a5
      When bundling PlayerInfo, we need to remove information if the
      controller is not allowed to access it. This was only partially
      done at the moment.
      
      PiperOrigin-RevId: 502852798
      (cherry picked from commit 50f066d6)
      tonihei committed
    • Fix javadoc references to `writeSampleData` · 31aae778
      PiperOrigin-RevId: 502821506
      (cherry picked from commit 8fcd6bbf)
      rohks committed
    • Make availableCommands known when bundling PlayerInfo · 7f207291
      When bundling PlayerInfo, we remove data when the controller is not
      allowed to access this data via getters. We also remove data for
      performance reasons. In the toBundle() method, it's currently hard to
      make the connection between allowed commands and filtering, because
      the values are checked at a different place. This can be made more
      readable by forwarding the applicable Commands directly.
      
      The only functional fix is to filter the Timeline when sending the
      first PlayerInfo after a connecting a controller if the command to
      get the Timeline is not available. This also allows us to remove a
      path to filter MediaItems from Timelines as it isn't used.
      
      PiperOrigin-RevId: 502607391
      (cherry picked from commit 5461d5cb)
      tonihei committed