add paren for clarity
This commit is contained in:
parent
dac4cbd460
commit
4bc510c17b
@ -336,7 +336,7 @@ public abstract class CameraActivity extends Activity
|
|||||||
// Fallback to camera1 API for internal cameras that don't have full support.
|
// Fallback to camera1 API for internal cameras that don't have full support.
|
||||||
// This should help with legacy situations where using the camera2 API causes
|
// This should help with legacy situations where using the camera2 API causes
|
||||||
// distorted or otherwise broken previews.
|
// distorted or otherwise broken previews.
|
||||||
useCamera2API = facing == CameraCharacteristics.LENS_FACING_EXTERNAL
|
useCamera2API = (facing == CameraCharacteristics.LENS_FACING_EXTERNAL)
|
||||||
|| isHardwareLevelSupported(characteristics,
|
|| isHardwareLevelSupported(characteristics,
|
||||||
CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL_FULL);
|
CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL_FULL);
|
||||||
LOGGER.i("Camera API lv2?: %s", useCamera2API);
|
LOGGER.i("Camera API lv2?: %s", useCamera2API);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user