Automatic translation import

Change-Id: Ie12d13900b286655881295c7aade95e72eefaeb8
Camera2: Allow devices to opt-out of threaded camera startup

On at least the current Exynos based devices, the vendor's HAL
appears to be unable to handle the threaded startup.  Since we
cannot easily fix their HAL, allow these devices to opt out
of the faster camera startup.

Change-Id: I8d1935eb69bb8ba1396b59d92993062637654258
Automatic translation import

Change-Id: I31b90f35dfcd05bd9add1b64b4c511ea659cdb07
Automatic translation import

Change-Id: I74a5f31311f95ddace9e06491b7f46420008b06c
Revert "Camera2: Allow devices to opt-out of threaded camera startup"

This reverts commit e95ccbc2275afdff17ed106cbc0266de58aab24e.
Revert "Camera2: fix camera has stopped" after long press camera key"

This is breaking the i9500 camera,
after reverting this also needed to revert
http://review.cyanogenmod.org/#/c/75946/

This reverts commit 6818971085cba3f6d06b9c9a46f1a7b8b72c691c.

Change-Id: Ia1c251a7ffd838e02e8587f7f70854de8adb9088
Revert "Revert "camera: add support for samsung and htc camcorder modes""

This reverts commit f19adb54a1dc0103751f581772983ef77a357457.
Revert "Camera: open Camera and start Preview in a seperate thread."

Change-Id: I584637c627e39239379800e970d12f69558367e3