show the bottom buttons on resume only if we have the permissions already

This commit is contained in:
tibbi 2017-05-07 15:58:00 +02:00
parent 520a2b160e
commit 5115739a96
1 changed files with 1 additions and 1 deletions

View File

@ -466,10 +466,10 @@ class MainActivity : SimpleActivity(), PreviewListener, PhotoProcessor.MediaSave
togglePhotoVideo()
checkButtons()
}
toggleBottomButtons(false)
}
window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)
mOrientationEventListener.enable()
toggleBottomButtons(false)
}
private fun resumeCameraItems() {