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.

Conflicts:
	src/com/android/camera/Util.java

Change-Id: I2009fafd677a3300e5ff7a27fd8e1c783b0f8e0c