mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-02-05 17:47:39 +01:00
show the bottom buttons after taking a photo
This commit is contained in:
parent
9cb94fc5e6
commit
27fb68704b
@ -92,8 +92,8 @@ class PreviewCameraTwo : ViewGroup, TextureView.SurfaceTextureListener, MyPrevie
|
||||
}
|
||||
|
||||
private fun stopBackgroundThread() {
|
||||
mBackgroundThread?.quitSafely()
|
||||
try {
|
||||
mBackgroundThread?.quitSafely()
|
||||
mBackgroundThread?.join()
|
||||
mBackgroundThread = null
|
||||
mBackgroundHandler = null
|
||||
@ -342,6 +342,7 @@ class PreviewCameraTwo : ViewGroup, TextureView.SurfaceTextureListener, MyPrevie
|
||||
val CaptureCallback = object : CameraCaptureSession.CaptureCallback() {
|
||||
override fun onCaptureCompleted(session: CameraCaptureSession, request: CaptureRequest, result: TotalCaptureResult) {
|
||||
unlockFocus()
|
||||
mActivity.toggleBottomButtons(false)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user