do not hide the system UI at initiating fullscreen photo/video

This commit is contained in:
tibbi 2016-11-30 23:15:22 +01:00
parent 66221ff82d
commit 5f64a02763
2 changed files with 2 additions and 4 deletions

View File

@ -17,7 +17,7 @@ import com.simplemobiletools.gallery.models.Medium
import java.io.File
open class PhotoVideoActivity : SimpleActivity(), ViewPagerFragment.FragmentClickListener {
private var mIsFullScreen = true
private var mIsFullScreen = false
lateinit var mUri: Uri
lateinit var mFragment: ViewPagerFragment
@ -42,7 +42,6 @@ open class PhotoVideoActivity : SimpleActivity(), ViewPagerFragment.FragmentClic
mFragment.arguments = bundle
supportFragmentManager.beginTransaction().replace(R.id.fragment_holder, mFragment).commit()
}
hideSystemUI()
if (mUri.scheme == "content") {
val proj = arrayOf(MediaStore.Images.Media.TITLE)

View File

@ -81,10 +81,9 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
}
mPos = 0
mIsFullScreen = true
mIsFullScreen = false
mToBeDeleted = ""
mBeingDeleted = ""
hideSystemUI()
scanPath(mPath) {}
addUndoMargin()