fix #668, properly handle Instant media change with Aspect Ratio rotation

This commit is contained in:
tibbi 2018-02-23 23:16:17 +01:00
parent 7289d0a8ea
commit 72ffa243a5
1 changed files with 2 additions and 0 deletions

View File

@ -859,10 +859,12 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
override fun goToPrevItem() {
view_pager.setCurrentItem(view_pager.currentItem - 1, false)
checkOrientation()
}
override fun goToNextItem() {
view_pager.setCurrentItem(view_pager.currentItem + 1, false)
checkOrientation()
}
private fun checkSystemUI() {