-
v1.1.8 Stable
released this
2026-05-11 14:06:47 +02:00 | 11 commits to main since this releaseBug fixes
- Fix landscape preview rotating with the device instead of re-orienting. Rotating to landscape previously left the camera writing a portrait-oriented frame into the landscape GL surface, because
Preview.setTargetRotation()on an already-bound use case does not refresh the liveSurfaceTexturetransform matrix or buffer size with a customSurfaceProvider. The fix rebinds the camera use cases on rotation change so CameraX issues a freshSurfaceRequestwith a resolution and matrix that match the new orientation. Also reverts the v1.1.7OrientationDetectorchange — that mapping was correct already for afullSensoractivity and not the root cause.
🤖 Generated with Claude Code
Downloads
-
Source code (ZIP)
2 downloads
-
Source code (TAR.GZ)
1 download
-
naiv-tilt-shift-release.apk
1 download ·
2026-05-11 14:06:51 +02:00 · 2.8 MiB
- Fix landscape preview rotating with the device instead of re-orienting. Rotating to landscape previously left the camera writing a portrait-oriented frame into the landscape GL surface, because