[ANDROID ADS] Always setAdTagUrl even if it's null

This commit is contained in:
Axel Vencatareddy 2022-11-30 12:39:43 +01:00
parent 73dde32cce
commit 567c299b2a

View File

@ -196,14 +196,9 @@ public class ReactExoplayerViewManager extends ViewGroupManager<ReactExoplayerVi
return; return;
} }
if (startsWithValidScheme(uriString)) { Uri adTagUrl = Uri.parse(uriString);
Uri adTagUrl = Uri.parse(uriString);
if (adTagUrl != null) { videoView.setAdTagUrl(adTagUrl);
videoView.setAdTagUrl(adTagUrl);
}
}
return;
} }