1. 14 May, 2020 3 commits
    • Fix AsynchronousMediaCodecBufferEnqueuerTest · 4e8ea009
      Fixes AsynchronousMediaCodecBufferEnqueuerTest broken tests by
      enqueueing input buffers that have previously been dequeued from the
      MediaCodec.
      
      The test assumes that the shadow MediaCodec implementation can dequeue
      at least 10 input buffers before queueing them back. Although fragile,
      it seems to work with the current robolectric shadow MediaCodec. This is
      at the moment preferred compared to making the test more complicated.
      
      PiperOrigin-RevId: 310325096
      christosts committed
    • Let CastPlayer#getTrackSelector return null · 85cf5768
      Change CastPlayer#getTrackSelector to return null
      instead of throwing exception.
      
      PiperOrigin-RevId: 310319964
      insun committed
    • Add Player#getTrackSelector() · c7f2df0f
      PiperOrigin-RevId: 310242733
      insun committed
  2. 06 May, 2020 11 commits
  3. 05 May, 2020 22 commits
  4. 04 May, 2020 3 commits
  5. 01 May, 2020 1 commit
    • DownloadManager.Task: Remove top level thread interrupt · bb744e5f
      DownloadManager doesn't know enough about the Downloader implementations to
      know that interrupting the thread is the right thing to do. In particular,
      if a Downloader implementation wants to delegate work to additional worker
      threads, then it will probably not want its main thread to be interrupted
      on cancelation. Instead, it will want to cancel/interrupt its worker threads,
      and keep its main thread blocked until work on those worker threads has
      stopped (download() must not return whilst the Downloader is still touching
      the cache).
      
      This change moves control over what happens to the individual Downloader
      implementations.
      
      Issue: #5978
      PiperOrigin-RevId: 309419177
      olly committed