Skip to content

Commit

Permalink
logs
Browse files Browse the repository at this point in the history
  • Loading branch information
armands-malejevs committed Jun 22, 2023
1 parent d8cb8c5 commit 6db7254
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -467,14 +467,18 @@ public void handleCheckTruex(AdEvent event) {
}
Log.w("truex", "Checking if ad is TrueX");
boolean isTrueXAd = activeAd.getAdSystem().contains("trueX");
Log.w("truex", "ad system: " + activeAd.getAdSystem());
Log.w("truex", "ad desc: " + activeAd.getDescription());
if (isTrueXAd && isTruexEnabled) {
Log.w("truex", "Ad is TrueX");
String vastUrl = activeAd.getDescription();
displayInteractiveAd(vastUrl);
} else if (isTrueXAd && !isTruexEnabled) {
Log.w("truex", "Ad is not TrueX");
Log.w("truex", "Ad is TrueX but TrueX is disabled");
// Don't display interactive ads if TrueX is disabled
adsLoader.skipAd();
} else {
Log.w("truex", "Ad is not TrueX");
}
reLayout(exoPlayerView);
}
Expand Down

0 comments on commit 6db7254

Please sign in to comment.