Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix OrientationHelper #290

Merged
merged 1 commit into from
Oct 19, 2018
Merged

Conversation

aartikov
Copy link
Contributor

It is better to use a previous orientation value when a sensor returns ORIENTATION_UNKNOWN.
It will allow to make landscape photos when a device is almost parallel to the ground plane.

@natario1
Copy link
Owner

Thank you @aartikov ! And thank you for writing tests.

@natario1 natario1 merged commit ee1d397 into natario1:master Oct 19, 2018
derohimat added a commit to derohimat/CameraView that referenced this pull request Oct 19, 2018
Use cached orientation in OrientationHelper (natario1#290)
@aartikov aartikov deleted the orientation-helper-fix branch October 19, 2018 16:27
@mariuspena
Copy link

I have this "flat" issue too. also my app is locked in landscape.. and the pictures taken when the phone is in portrait are not rotated correctly.
@natario1 Where can I get a build with this mod ? (1.6.1 ?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants