summaryrefslogtreecommitdiffstats
path: root/src_pd/com/android
diff options
context:
space:
mode:
authorCamera Software Integration <camswint@localhost>2016-01-05 17:41:22 -0800
committerMichael Bestas <mikeioannina@cyanogenmod.org>2016-02-16 15:44:54 +0200
commite5d80904c60a105a034d0b0df3304ed6f001001a (patch)
tree34b3e299827a5ecfa6b284f57ea23667eb765328 /src_pd/com/android
parenta05f9ce2cfa6dc7f94d38580d0ce7092b5507947 (diff)
downloadandroid_packages_apps_Snap-e5d80904c60a105a034d0b0df3304ed6f001001a.tar.gz
android_packages_apps_Snap-e5d80904c60a105a034d0b0df3304ed6f001001a.tar.bz2
android_packages_apps_Snap-e5d80904c60a105a034d0b0df3304ed6f001001a.zip
SnapdragonCamera: fix the incorrect aspect ratio calculation
For square size picture, the function that calculates the closest aspect ratio, forced it to use 4:3 ratio and caused the preview stretched from 1:1 to 4:3. Fix the issue by skipping the logic that forces it to 4:3 aspect ratio when the picture size is square. Change-Id: Ia7d8250152ce37f4444f7db7c752eeb8489d9a2f CRs-Fixed: 955824
Diffstat (limited to 'src_pd/com/android')
0 files changed, 0 insertions, 0 deletions