1
0
mirror of https://framagit.org/tom79/fedilab-tube synced 2025-06-05 21:09:11 +02:00
This commit is contained in:
Thomas
2021-01-05 17:41:38 +01:00
parent 0a919c85ab
commit 10892f92f1

View File

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