Aperture: Ignore repeated key events

Change-Id: Iadab87385a9ce962b2882397c679ef7d645338e7
diff --git a/app/src/main/java/org/lineageos/aperture/MainActivity.kt b/app/src/main/java/org/lineageos/aperture/MainActivity.kt
index 51e74bc..8b2d52d 100644
--- a/app/src/main/java/org/lineageos/aperture/MainActivity.kt
+++ b/app/src/main/java/org/lineageos/aperture/MainActivity.kt
@@ -411,7 +411,7 @@
         return when (keyCode) {
             KeyEvent.KEYCODE_VOLUME_UP,
             KeyEvent.KEYCODE_VOLUME_DOWN -> {
-                if (shutterButton.isEnabled) {
+                if (shutterButton.isEnabled && event?.repeatCount == 0) {
                     shutterButton.performClick()
                 }
                 true