Camera: add config option to disable snapshots during videos
Merge code from CAF in an attempt to fix the blackscreen when rotating the screen while opening the Camera app
Tweak Gallery2 tunables to my liking
disableTouchSnapshot: Do not disable SingleTapListener

This makes the disableTouchSnapshot option only disable the snapshot feature while recording video. If we disable SingleTapListener completely then we won't be able to dismiss popups by tapping the screen.

Signed-off-by: Sultanxda <sultanxda@gmail.com>
Revert "Gallery2: fix fail to share file-scheme uri in MovieActivity"

This reverts commit 9c32971b29b0b0b741058abbaea5cf23c8be317a. This commit was reverted because it breaks video-recording functionality.

    Signed-off-by: Sultanxda <sultanxda@gmail.com>
Revert some parameter changes
Set SAVE_TASK_LIMIT to 1
disableTouchSnapshot: restore original order of code
Change some more configs
Temporary: use MovieActivity.java from 4.3_2.2 AOSP source