toggle fullscreen mode on click on all devices, not just chromebooks

This commit is contained in:
tibbi 2019-11-10 10:39:45 +01:00
parent 35de514ee3
commit 59be8838c4

View file

@ -1096,10 +1096,8 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
override fun fragmentClicked() { override fun fragmentClicked() {
mIsFullScreen = !mIsFullScreen mIsFullScreen = !mIsFullScreen
checkSystemUI() checkSystemUI()
if (isChromebook()) {
fullscreenToggled() fullscreenToggled()
} }
}
override fun videoEnded(): Boolean { override fun videoEnded(): Boolean {
if (mIsSlideshowActive) { if (mIsSlideshowActive) {