prevent AndroidTV from starting Screensaver

This commit is contained in:
Felix 2017-04-15 19:57:35 +02:00
parent 66f94ddbaa
commit 2e84401d81

View file

@ -60,6 +60,7 @@ public class PlayerActivity extends AbstractServiceConnectedAcitivty
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_playback);
ButterKnife.bind(this);
mSurfaceView.setKeepScreenOn(true);
mPlaybackControllFragment = (OverlayFragment) getFragmentManager().findFragmentById(R.id.playback_controls_fragment);