Camera : Use thumbnail dimensions for snapshot post view for 7x27
Change-Id: Ib3a1f0e1105ec1422d371e68bc87bd5b84fa0b32
diff --git a/QualcommCameraHardware.cpp b/QualcommCameraHardware.cpp
index 830236f..cb81879 100644
--- a/QualcommCameraHardware.cpp
+++ b/QualcommCameraHardware.cpp
@@ -2665,7 +2665,8 @@
* So, mThumbnailHeap will be used for postview rather than
* as thumbnail(Not changing the terminology to keep changes minimum).
*/
- if(rawHeight >= previewHeight) {
+ if((rawHeight >= previewHeight) &&
+ (mCurrentTarget != TARGET_MSM7627)) {
mDimension.ui_thumbnail_height = previewHeight;
mDimension.ui_thumbnail_width =
(previewHeight * rawWidth) / rawHeight;