Change minDuration check in Camera2SurfaceView

In order to return the correct size in getMaxPreviewSizeForFpsRange,
restrict the minDuration matching against frameDurationRange.

Change-Id: I644d27131615a52740bfea656ab9a9374ec2427e
Signed-off-by: Per Persson <per.persson@intel.com>
Signed-off-by: Lopez Esparza, Ricardo <ricardo.lopez.esparza@intel.com>
1 file changed