show the bottom buttons on resume only if we have the permissions already
This commit is contained in:
parent
520a2b160e
commit
5115739a96
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue