This website requires JavaScript.
Explore
Help
Sign in
olemd
/
tilt-shift-camera
Watch
1
Star
0
Fork
You've already forked tilt-shift-camera
0
Code
Issues
Pull requests
Projects
Releases
11
Packages
Wiki
Activity
Actions
v1.1.8
tilt-shift-camera
/
version.properties
4 lines
60 B
Properties
Raw
Permalink
Normal View
History
Unescape
Escape
Add version management with auto-bump script Version is tracked in version.properties and read by build.gradle.kts. Run ./bump-version.sh [major|minor|patch] before release builds. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 13:58:22 +01:00
versionMajor
=
1
versionMinor
=
1
Fix landscape preview by rebinding on rotation change `Preview.targetRotation = …` on an already-bound use case does not refresh the live SurfaceTexture's transform matrix or trigger a new SurfaceRequest with a rotation-appropriate buffer size — the new rotation only applies to subsequently bound streams. With our custom SurfaceProvider, the result was that rotating to landscape left the camera still writing portrait-oriented frames into the now-landscape GL surface, so the preview appeared to rotate with the device instead of switching to landscape. Rebind the camera use cases when the target rotation changes so CameraX fires a fresh SurfaceRequest with the correct resolution and matrix. Also revert the OrientationDetector mapping back to its original (matches Display.rotation for a fullSensor activity, which is what setTargetRotation expects); the previous "fix" went the wrong direction and was not the root cause. Bump to 1.1.8. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 14:05:45 +02:00
versionPatch
=
8
versionCode
=
10
Reference in a new issue
Copy permalink