Use case description
When a user skips to the very end of the video, the IMA sample application plays the last of all the skipped mid rolls by default before considering the playback as ended. The Exoplayer IMA Extension ends the playback instantly, not playing any of the skipped mid rolls.
Proposed solution
On position discontinuity, check if any midrolls have been skipped. If yes, do not send the content complete signal to IMA as of yet.