1. 19 Feb, 2018 5 commits
    • Bump to 2.7.0 and prepare release notes · 69496eb1
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=186200840
      olly committed
    • Move DownloadManagerTest to Robolectric. · 24067851
      The waiting for a ConditionVariable to be false was replaced by a
      CountDownLatch whose count is asserted to be one. The timeout of a
      ConditionVariable doesn't work in Robolectric unless someone is
      manually increasing the SystemClock time.
      
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=186003125
      tonihei committed
    • Fix content progress updates and position faking · 56c9d023
      Occasionally the player could transition from playing content to playing an ad
      after IMA called playAd. The discontinuity triggered faking the content
      position, and the fake position was passed to IMA when content resumed causing
      the wrong ad group to be loaded. Fix this by only faking the position if the
      player transitions before playAd.
      
      Also fix the calculation of the expected ad group index for a postroll ad, and
      wait for the player to transition back from ad to content before passing a
      content progress update.
      
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=185994229
      andrewlewis committed
    • Catch exceptions in all IMA callbacks · 6c3b677d
      If an exception is thrown in an IMA callback it crashes the process with lots of
      logging from WebView (including several stack traces, etc.). This change wraps
      ImaAdsLoader code that might throw, skips any remaining ads (as the errors are
      not recoverable, in general) and notifies a new load error callback so that the
      application can implement its own handling. The intention is to make the loader
      robust to unexpected requests from IMA and avoid crashes.
      
      Also handle IMA loading an ad in an ad group that has no available ads. In rare
      cases IMA will try to load an ad for which an error was previously notified, so
      this drops those load requests allowing playback of the content to continue.
      
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=185985850
      andrewlewis committed
  2. 16 Feb, 2018 29 commits
  3. 08 Feb, 2018 6 commits