diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/de/danoeh/antennapod/activity/VideoplayerActivity.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/de/danoeh/antennapod/activity/VideoplayerActivity.java b/src/de/danoeh/antennapod/activity/VideoplayerActivity.java index f323cb681..489d57340 100644 --- a/src/de/danoeh/antennapod/activity/VideoplayerActivity.java +++ b/src/de/danoeh/antennapod/activity/VideoplayerActivity.java @@ -50,6 +50,7 @@ public class VideoplayerActivity extends MediaplayerActivity { if (Build.VERSION.SDK_INT >= 11) { requestWindowFeature(Window.FEATURE_ACTION_BAR_OVERLAY); } + getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); super.onCreate(savedInstanceState); getSupportActionBar().setBackgroundDrawable(new ColorDrawable(0x80000000)); } |