1. 01 May, 2020 37 commits
  2. 27 Apr, 2020 3 commits
    • Use Executor instead of ExecutorService for parallel downloads · 2e9ed515
      - Executor is a superclass of ExecutorService, so this is arguably a little
        more flexible.
      - It removes the need to use null for direct execution, because Runnable::run
        is a direct executor that can be trivially used instead.
      - Removing the error-prone "cannot be a direct executor" restriction in the
        parallel version of SegmentDownloader requires not relying on the futures
        returned from ExecutorService.submit() anyway.
      
      Issue: #5978
      PiperOrigin-RevId: 308586620
      olly committed
    • Reattach player to ads loader on resume · 008d38d8
      When pausing and resuming a playback using an AdsLoader
      it is necessary to call setPlayer again. This fixes an
      issue where playback was stuck in the buffering state
      when pausing and resuming an ad playback in the demo app.
      
      PiperOrigin-RevId: 308582143
      andrewlewis committed
    • Pass app context to the IMA SDK · a7c301cb
      Notes: this doesn't fix the current issue where the component containing the
      ad overlay view leaks, but is good practice anyway.
      PiperOrigin-RevId: 308582036
      andrewlewis committed