fix #120, reopen the proper folder after rotating the device

This commit is contained in:
tibbi
2017-11-09 22:10:02 +01:00
parent d3b5a3b2fd
commit 0680762e3f
2 changed files with 17 additions and 1 deletions

View File

@ -44,7 +44,9 @@ class MainActivity : SimpleActivity() {
isPickMultipleIntent = intent.getBooleanExtra(Intent.EXTRA_ALLOW_MULTIPLE, false)
}
tryInitFileManager()
if (savedInstanceState == null) {
tryInitFileManager()
}
checkWhatsNewDialog()
checkIfRootAvailable()
storeStateVariables()