CameraX 1.7.0-rc01

1.7.0-rc01
Added 2
  • Flash can now fire during image capture while Low Light Boost is active
  • Support obtaining CameraSelector on physical cameras from CameraInfo.getPhysicalCameraInfos() and binding UseCases to physical cameras
Changed 7
Fixed 5
  • Fixed the Camera2Interop V2 ambiguity issue
  • Fixed a native SIGSEGV crash on the CameraX OpenGL thread when a SurfaceProcessor released an input SurfaceTexture whose SurfaceRequest was garbage-collected before completion
  • Fixed a Surface leak and native OpenGL crash that could occur during garbage collection when a CameraEffect's executor or HandlerThread was shut down before the effect's SurfaceOutput was closed
  • Fixed a bug in ImageAnalysis where changing output rotation dynamically or unbinding the use case could cause a Surface/ImageReader resource leak
  • Fixed a compilation crash on newer JDK versions when resolving transitively imported JSpecify type annotations on CameraX internal fields

1 change to check, marked in the notes below

From CameraX

Converted UseCaseCamera2Interop, ImageCaptureCamera2Interop, SessionConfigCamera2Interop, and CameraControlCamera2Interop from interfaces into abstract classes. ( If654e) Fixed the Camera2Interop V2 ambiguity issue ( I1bbe5) Fixed a native SIGSEGV crash on the CameraX OpenGL thread when a SurfaceProcessor released an input SurfaceTexture whose SurfaceRequest was garbage-collected before completion. ( I76f73, b/563673593) Fixed a Surface leak and native OpenGL crash that could occur during garbage collection when a CameraEffect's executor or HandlerThread was shut down before the effect's SurfaceOutput was closed. ( Ifcc19, b/558819242) Low Light Boost behavior improvement: Low Light Boost and Torch now follow a 'last setting wins' policy where enabling one automatically disables the other instead of rejecting the request. In addition, flash can now fire during image capture while Low Light Boost is active. ( Ie583f) androidx.lifecycle:lifecycle-runtime dependency was updated to 2.10.0. This version is required for bundled lifecycle runtime lint checks to run with AGP version 9.5.0-alpha04 or later. ( I99bfd, b/556807521) Support obtaining CameraSelector on physical cameras from CameraInfo.getPhysicalCameraInfos() and binding UseCases to physical cameras. Querying CameraInfo with a physical CameraSelector now returns the physical CameraInfo instead of the logical CameraInfo. ( Ibe7f2) Clarified OutputOptions.Builder.setLocation Javadoc that only latitude and longitude are stored in video metadata. ( I77d3b, b/551348846) Fixed a bug in ImageAnalysis where changing output rotation dynamically or unbinding the use case could cause a Surface/ ImageReader resource leak. ( I25cef) CameraInfo.getIntrinsicZoomRatio() now rounds the returned ratio to two decimal places. ( Ibe9a8) Relaxed HardwareBuffer.isSupported check for PRIVATE format in ImageAnalysis to prevent false negative failures on some devices. ( I347a4, b/545866947) Fixed a compilation crash on newer JDK versions when resolving transitively imported JSpecify type annotations on CameraX internal fields. ( I00bb4, b/543937345) signature changed · inferred behavior changed · inferred

View original

Upgraded? How did it go?

Discussion