mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-06-27 09:02:59 +02:00
show shutter animation along with sound
This commit is contained in:
@ -423,6 +423,7 @@ class CameraXPreview(
|
||||
val mediaOutput = mediaOutputHelper.getImageMediaOutput()
|
||||
imageCapture.takePicture(mainExecutor, object : OnImageCapturedCallback() {
|
||||
override fun onCaptureSuccess(image: ImageProxy) {
|
||||
listener.shutterAnimation()
|
||||
playShutterSoundIfEnabled()
|
||||
ensureBackgroundThread {
|
||||
image.use {
|
||||
|
Reference in New Issue
Block a user