Merge pull request #6161 from TeamNewPipe/player-buffering

Fix invisible buffering / loading indicator in player
This commit is contained in:
Tobi 2021-04-25 18:10:02 +02:00 committed by GitHub
commit 7fb7176210

View file

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