make sure the bottom buttons are visible after resume or camera toggle

This commit is contained in:
tibbi 2017-05-07 15:48:42 +02:00
parent e56e1f15d1
commit aa4cf933c6
1 changed files with 2 additions and 0 deletions

View File

@ -338,6 +338,7 @@ class MainActivity : SimpleActivity(), PreviewListener, PhotoProcessor.MediaSave
mIsInPhotoMode = !mIsInPhotoMode
showToggleCameraIfNeeded()
checkButtons()
toggleBottomButtons(false)
}
private fun checkButtons() {
@ -464,6 +465,7 @@ class MainActivity : SimpleActivity(), PreviewListener, PhotoProcessor.MediaSave
}
window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)
mOrientationEventListener.enable()
toggleBottomButtons(false)
}
private fun resumeCameraItems() {