summaryrefslogtreecommitdiffstats
path: root/src_pd_gcam/com/android
diff options
context:
space:
mode:
authorpezhan <pezhan@codeaurora.org>2017-03-01 14:28:34 +0800
committerArne Coucheron <arco68@gmail.com>2017-06-13 07:18:36 +0200
commitc188ffee66e30718a792bfccb581a9e630a1c4f1 (patch)
tree6ae1d5b6146fc214243ede5e6af11b6000464bfd /src_pd_gcam/com/android
parentd24a8ede150863e67f67bbd04279b138c7fde242 (diff)
downloadandroid_packages_apps_Snap-c188ffee66e30718a792bfccb581a9e630a1c4f1.tar.gz
android_packages_apps_Snap-c188ffee66e30718a792bfccb581a9e630a1c4f1.tar.bz2
android_packages_apps_Snap-c188ffee66e30718a792bfccb581a9e630a1c4f1.zip
SnapdragonCamera: Fix Camera1 force close when refocusing the picture.
When the screen is PORTRAIT mode, we get the screen always height < width. But we get the image always height < width.Under this circumstance, the inSampleSize maybe incorrect , which will cause OOM when create bitmap. Need to check the screen's orientation,and choose the correct width and height to calculate the inSampleSize. Change-Id: I11743c862ebdb9d35c4fc5de7bf40003c69b7219 CRs-Fixed: 2013250
Diffstat (limited to 'src_pd_gcam/com/android')
0 files changed, 0 insertions, 0 deletions