Fix condition for detecting that an ad has ended
onEnded was being called also for content finishing, as in this case the playing ad index changed (from INDEX_UNSET to 0). Fix this test so we only detect ads finishing. Also add logging for onEnded callbacks. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179167737
Showing
with
9 additions
and
3 deletions
Please
register
or
sign in
to comment