forked from CyanogenMod/android_packages_apps_Camera
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement rotation compensation for landscape devices
Retrieve the system property ro.device.screenrotation (value in 0, 90, 180, 270) and adjust the pictures/videos accordingly. Example of use: HTC Chacha, device with always fixed open keyboard and landscape screen. Without the use of that property (ro.device.screenrotation), all pictures and videos taken are rotated 90 degrees. Setting ro.device.screenrotation=90 will correct the issue. Change-Id: I8015318e676e12c6fbf2bce387ce5805186c514b
- Loading branch information
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters