[ANDROID ADS] Always setAdTagUrl even if it's null
This commit is contained in:
parent
73dde32cce
commit
567c299b2a
@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user