fixes black splashes on android

This commit is contained in:
Aravind Vemula
2023-07-23 21:38:26 +05:30
parent 9914faf4d9
commit 28ac4d20f8
5 changed files with 26 additions and 4 deletions

View File

@@ -116,6 +116,10 @@ public final class ExoPlayerView extends FrameLayout implements AdViewProvider {
subtitleLayout.setPadding(style.getPaddingLeft(), style.getPaddingTop(), style.getPaddingRight(), style.getPaddingBottom());
}
public void setShutterColor(Integer color) {
shutterView.setBackgroundColor(color);
}
private void updateSurfaceView() {
View view;
if (!useTextureView || useSecureView) {