I encountered the same issue documented in this GitHub thread: google/ExoPlayer#10370. It pertains to the appearance of a yellow border in IMA (Interactive Media Ads) on Android TV. I faced the same problem while using the media3 library with the IMA extension. To resolve it, I implemented the following function:
fun makeAdViewNonFocusableAndNonClickable() {
playerView?.adViewGroup?.children?.forEach { child ->
child.isFocusable = false
child.isClickable = false
}
}