1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-11-12 05:03:00 +00:00

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

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);