Aperture: Remove useless comments
Change-Id: I72c11713a1b30de4e157f1bf6d6ef9e8a6787632
diff --git a/app/src/main/java/org/lineageos/aperture/utils/Camera.kt b/app/src/main/java/org/lineageos/aperture/utils/Camera.kt
index 3964c99..be68bf4 100644
--- a/app/src/main/java/org/lineageos/aperture/utils/Camera.kt
+++ b/app/src/main/java/org/lineageos/aperture/utils/Camera.kt
@@ -17,19 +17,9 @@
*/
@androidx.camera.camera2.interop.ExperimentalCamera2Interop
class Camera(cameraInfo: CameraInfo) {
- /**
- * Camera2 CameraInfo
- */
val camera2CameraInfo = Camera2CameraInfo.from(cameraInfo)
-
- /**
- * Camera2 compatible camera ID
- */
val cameraId = camera2CameraInfo.cameraId.toInt()
- /**
- * Facing of the camera
- */
val cameraFacing =
when (camera2CameraInfo.getCameraCharacteristic(CameraCharacteristics.LENS_FACING)) {
CameraCharacteristics.LENS_FACING_FRONT -> CameraFacing.FRONT
@@ -38,14 +28,8 @@
else -> CameraFacing.UNKNOWN
}
- /**
- * Flash is available or not
- */
val hasFlashUnit = cameraInfo.hasFlashUnit()
- /**
- * Supported video qualities
- */
val supportedVideoQualities: MutableList<Quality> =
QualitySelector.getSupportedQualities(cameraInfo)
}