Loading app/src/main/java/net/sourceforge/opencamera/CameraController/CameraControllerManager2.java +2 −3 Original line number Diff line number Diff line Loading @@ -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); Loading Loading
app/src/main/java/net/sourceforge/opencamera/CameraController/CameraControllerManager2.java +2 −3 Original line number Diff line number Diff line Loading @@ -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); Loading