1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-06-22 05:03:20 +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
commit 0a2ed805a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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