Aperture: Let the user only grant coarse location permission

While at it remove an unused property

Change-Id: I64eb9b210ee6049bd43fc3704a9620b42aca5ea6
diff --git a/app/src/main/java/org/lineageos/aperture/utils/PermissionsUtils.kt b/app/src/main/java/org/lineageos/aperture/utils/PermissionsUtils.kt
index 3bc981b..0f8c39e 100644
--- a/app/src/main/java/org/lineageos/aperture/utils/PermissionsUtils.kt
+++ b/app/src/main/java/org/lineageos/aperture/utils/PermissionsUtils.kt
@@ -16,7 +16,9 @@
  */
 class PermissionsUtils(private val context: Context) {
     fun mainPermissionsGranted() = permissionsGranted(mainPermissions)
-    fun locationPermissionsGranted() = permissionsGranted(locationPermissions)
+    fun locationPermissionsGranted() = locationPermissions.any {
+        permissionGranted(it)
+    }
 
     private fun permissionGranted(permission: String) =
         ContextCompat.checkSelfPermission(context, permission) == PackageManager.PERMISSION_GRANTED
@@ -45,11 +47,5 @@
             Manifest.permission.ACCESS_COARSE_LOCATION,
             Manifest.permission.ACCESS_FINE_LOCATION,
         )
-
-        /**
-         * All the permissions that the app might use
-         */
-        val allPermissions = mainPermissions
-            .plus(locationPermissions)
     }
 }