commit | 074ab94205e4560ac7499dbd39d2d2d62c07fbfe | [log] [tgz] |
---|---|---|
author | Sebastiano Barezzi <seba@sebaubuntu.dev> | Wed Nov 15 17:19:23 2023 +0100 |
committer | LuK1337 <priv.luk@gmail.com> | Thu Nov 16 09:33:41 2023 +0100 |
tree | 97e367a6027102008ebfc677f652af3444bc3223 | |
parent | e3a4ee6fc39d2372e8f9cfbca7381f1a0691481c [diff] |
Aperture: Make sure to stop doing stuff when we call Activity.finish() Change-Id: I198d2209b9a4a3c844f046898a78e868bdfe0539
diff --git a/app/src/main/java/org/lineageos/aperture/CameraActivity.kt b/app/src/main/java/org/lineageos/aperture/CameraActivity.kt index a08b766..e036797 100644 --- a/app/src/main/java/org/lineageos/aperture/CameraActivity.kt +++ b/app/src/main/java/org/lineageos/aperture/CameraActivity.kt
@@ -608,6 +608,7 @@ this, getString(R.string.camcorder_unsupported_toast), Toast.LENGTH_LONG ).show() finish() + return } // Fallback to photo mode cameraMode = CameraMode.PHOTO