media/libraries/exoplayer_ima/src
tonihei 50f9f35353 Guard timeline access in ImaSSAIMS against empty timelines
All methods check if the player is currently handling the ad source
by calling isCurrentAdPlaying(). This method was missing a check
for empty timelines that throws an exception when trying to access
a non-existent period.

Also add this check to two methods that assume the current item
is the ads source, but didn't check it yet.

PiperOrigin-RevId: 653963557
2024-07-19 04:27:36 -07:00
..
androidTest Rollback of 8e2869278c 2024-02-15 02:35:12 -08:00
main Guard timeline access in ImaSSAIMS against empty timelines 2024-07-19 04:27:36 -07:00
test Guard timeline access in ImaSSAIMS against empty timelines 2024-07-19 04:27:36 -07:00