Fix issue #162
This commit is contained in:
parent
0a919c85ab
commit
10892f92f1
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue