camera: Clean up code for restarting the preview

 * Fix another ZSL hang and remove redundant code.

Change-Id: I8075829bfc82bc94a8ae8d49234cecc4e3ca1faf
Camera: Add supportsOrientationResizePreview configuration

Current orientation resize preview patch is broken some devices (xe: tf700t). This patch adds
a new configuration for device that doesn't handle properly the orientation resize preview
detection.
Also, the patch adds some styling fixed:
- Avoice call requestLayout twice
- Avoid create variables if mOrientationResize is not going to be used

Change-Id: Ia8ad7a58b9418eedc5edde6b23eb995f5ecfdabd
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Revert all recent changes to preview orientation handling

 * Will revisit after the release.

Revert "Camera: Add supportsOrientationResizePreview configuration"

This reverts commit 1d12cab88c5c1b8ae6bb016f08e95068448cafec.

Revert "camera: Clean up code for restarting the preview"

This reverts commit 917a193a4a7736ac7657a6ac7f15a978bfe3732a.

Revert "camera: Fix hang when changing picture size"

This reverts commit d1a3d5d99006f274955b444c62c4354b425ac081.

Revert "Fix preview state machine after it's restarted due to ratio changes"

This reverts commit 5c40119365eefc1b2d9aef3c0b36cf60c44a33a8.

Revert "Camera: Fix for stretched preview in front camera"

This reverts commit b568826506d5555ee04d0a536c4687e34e648eeb.
Camera: NB translation

PS2: Trying to make Cid happy!

Commit for staging: http://review.cyanogenmod.org/#/c/37283/

Change-Id: I135bf8d339c3bb81cd2d0ed9645fea4559af39ed
Camera : FR Translation

Patch set 2 : add cm-10.1-staging translation
Patch set 3 : correction

Change-Id: I5c38b2bf55c71a5fb1f6cb298cd43b7f36470804
Merge "Camera : FR Translation" into cm-10.1
Camera: fix preview in panorama mode

Change-Id: I2fefcf81ec0fc3c3dcfb246c73c405350661dc27
Update German translation

Change-Id: I881dc44421160979fc1185302aa1b2e0ba3dab35
Merge "Update German translation" into cm-10.1
Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_packages_apps_Camera into jb-mv