Fixes the issue with preview when ratio is 1:1

The patch fixes the test case on devices where the
height width ratio is 1:1 or height>width. The test case
com.android.cts.verifier.camera.formats.
CameraFormatsActivity#Camera Formats fails because
processed call back data is not same as preview.

Change-Id: Icf7e272a2ff96876c3c62be2084f7398fec22f64
Signed-off-by: Raj Mamadgi <rmamadgi@sta.samsung.com>
(cherry picked from commit 76547d670fea42b0798d1fc8e1461d909f377613)
1 file changed