mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-06-27 09:02:59 +02:00
show the bottom buttons on resume only if we have the permissions already
This commit is contained in:
@ -466,10 +466,10 @@ class MainActivity : SimpleActivity(), PreviewListener, PhotoProcessor.MediaSave
|
|||||||
togglePhotoVideo()
|
togglePhotoVideo()
|
||||||
checkButtons()
|
checkButtons()
|
||||||
}
|
}
|
||||||
|
toggleBottomButtons(false)
|
||||||
}
|
}
|
||||||
window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)
|
window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)
|
||||||
mOrientationEventListener.enable()
|
mOrientationEventListener.enable()
|
||||||
toggleBottomButtons(false)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun resumeCameraItems() {
|
private fun resumeCameraItems() {
|
||||||
|
Reference in New Issue
Block a user