Fix invisible buffering / loading indicator in player

This commit is contained in:
TobiGr 2021-04-24 20:03:23 +02:00
parent 8837b54aab
commit b54c2b7f57
1 changed files with 1 additions and 0 deletions

View File

@ -2077,6 +2077,7 @@ public final class Player implements
Log.d(TAG, "onBuffering() called");
}
binding.loadingPanel.setBackgroundColor(Color.TRANSPARENT);
binding.loadingPanel.setVisibility(View.VISIBLE);
binding.getRoot().setKeepScreenOn(true);