Aperture: Disable lens selector sound effects when busy

We don't really want to play sound effects during video recording etc.

Change-Id: I74497f66750de33effe1095b83cbab39db6ceaf1
diff --git a/app/src/main/java/org/lineageos/aperture/CameraActivity.kt b/app/src/main/java/org/lineageos/aperture/CameraActivity.kt
index 5cb0cfc..e232c93 100644
--- a/app/src/main/java/org/lineageos/aperture/CameraActivity.kt
+++ b/app/src/main/java/org/lineageos/aperture/CameraActivity.kt
@@ -1295,6 +1295,7 @@
      */
     private fun updateSecondaryBarButtons() {
         runOnUiThread {
+            // Top
             timerButton.isEnabled = cameraState == CameraState.IDLE
             aspectRatioButton.isEnabled = cameraState == CameraState.IDLE
             videoQualityButton.isEnabled = cameraState == CameraState.IDLE
@@ -1306,6 +1307,11 @@
                 cameraMode != CameraMode.PHOTO || cameraState == CameraState.IDLE
             micButton.isEnabled = cameraState == CameraState.IDLE || audioConfig.audioEnabled
             settingsButton.isEnabled = cameraState == CameraState.IDLE
+
+            // Bottom
+            lensSelectorLayout.children.forEach {
+                it.isSoundEffectsEnabled = cameraState == CameraState.IDLE
+            }
         }
     }