* This also manages the lifecycle of {@link Image}s within the application as
* they are passed in from the lower-level camera2 API.
*/
-@TargetApi(Build.VERSION_CODES.L)
+@TargetApi(Build.VERSION_CODES.LOLLIPOP)
public class ImageCaptureManager extends CameraCaptureSession.CaptureCallback implements
ImageReader.OnImageAvailableListener {
/**
* shutter lag.<br>
* TODO: Determine what the maximum number of full YUV capture frames is.
*/
-@TargetApi(Build.VERSION_CODES.L)
+@TargetApi(Build.VERSION_CODES.LOLLIPOP)
public class OneCameraZslImpl extends AbstractOneCamera {
private static final Tag TAG = new Tag("OneCameraZslImpl2");
}
public static boolean isLOrHigher() {
- return Build.VERSION.SDK_INT >= Build.VERSION_CODES.L
+ return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP
|| "L".equals(Build.VERSION.CODENAME);
}
}
}
}
- @TargetApi(Build.VERSION_CODES.L)
+ @TargetApi(Build.VERSION_CODES.LOLLIPOP)
private void setMaxElevation(View v) {
v.setElevation(Float.MAX_VALUE);
}