media/extensions/ima/src/main
andrewlewis da27e7d22c Fix content progress updates and position faking
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
2018-02-20 11:24:56 +00:00
..
java/com/google/android/exoplayer2/ext/ima Fix content progress updates and position faking 2018-02-20 11:24:56 +00:00
AndroidManifest.xml Open source IMA extension 2017-05-17 21:24:44 +01:00
proguard-rules.txt Automated g4 rollback of changelist 184056034. 2018-02-01 15:13:51 +00:00