This commit is contained in:
Thomas 2021-01-05 17:41:38 +01:00
parent 0a919c85ab
commit 10892f92f1
1 changed files with 1 additions and 1 deletions

View File

@ -1652,7 +1652,7 @@ public class PeertubeActivity extends AppCompatActivity implements CommentListAd
public void onReceive(Context context, Intent intent) {
String strAction = intent.getAction();
if (strAction.equals(Intent.ACTION_SCREEN_OFF)) {
if (player != null && isPlayInMinimized) {
if (player != null) {
if (!sharedpreferences.getBoolean(getString(R.string.set_play_screen_lock_choice), false)) {
player.setPlayWhenReady(false);
} else {