Skip to content

Commit bfe97d5

Browse files
committed
return if progress1 for ad already went out
1 parent a7eaf2d commit bfe97d5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • connectors/analytics/adscript/src/main/java/com/theoplayer/android/connector/analytics/adscript

connectors/analytics/adscript/src/main/java/com/theoplayer/android/connector/analytics/adscript/AdscriptAdapter.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ class AdscriptAdapter(
195195
}
196196

197197
private fun maybeReportAdProgress(currentTime: Double) {
198+
if (!waitingForFirstSecondOfAd) return
198199
val currentAd = playerView.player.ads.currentAds.firstOrNull()
199200
when (currentAd?.integration) {
200201
AdIntegrationKind.GOOGLE_IMA -> {

0 commit comments

Comments
 (0)