Aperture: Throw exception on video pause/resume while in wrong state

Change-Id: Ic6bd1830a55a06fb1e58ad34df8919e60e2a3a23
diff --git a/app/src/main/java/org/lineageos/aperture/MainActivity.kt b/app/src/main/java/org/lineageos/aperture/MainActivity.kt
index e73995d..f1487fc 100644
--- a/app/src/main/java/org/lineageos/aperture/MainActivity.kt
+++ b/app/src/main/java/org/lineageos/aperture/MainActivity.kt
@@ -370,7 +370,7 @@
             when (cameraState) {
                 CameraState.RECORDING_VIDEO -> recording?.pause()
                 CameraState.RECORDING_VIDEO_PAUSED -> recording?.resume()
-                else -> {}
+                else -> throw Exception("videoRecordingStateButton clicked while in invalid state: $cameraState")
             }
         }