Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7bc94224 authored by Mark Harman's avatar Mark Harman
Browse files

Fix comment.

parent d5f3ffd4
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -94,9 +94,8 @@ public class CameraControllerManager2 extends CameraControllerManager {
		return requiredLevel <= deviceLevel;
	}

	/* Rather than allowing Camera2 API on all Android 5+ devices, we restrict it to cases where all cameras have at least LIMITED support.
	 * (E.g., Nexus 6 has FULL support on back camera, LIMITED support on front camera.)
	 * For now, devices with only LEGACY support should still use the old API.
	/* Rather than allowing Camera2 API on all Android 5+ devices, we restrict it to certain cases.
	 * This returns whether the specified camera has at least LIMITED support.
	 */
	public boolean allowCamera2Support(int cameraId) {
		CameraManager manager = (CameraManager)context.getSystemService(Context.CAMERA_SERVICE);