Added system to build LegacyCamera if specified

Must be built with the LegacyCamera commit that moves PanoramaActivity
to the root directory.
Inspired by a patch by Bryan Gantt <dragonzkiller@gmail.com>
Cleaned up and enhanced by Rashed Abdel-Tawab <rashedabdeltawab@gmail.com>

Patch set 1: Initial Commit
Patch set 2: Fix errors with libjni_legacymosaic.so not building
Patch set 3: Clean-up the code

Change-Id: Id59e72ada6893c6f6de2b2f486a637509a50d71d
Revert "Added system to build LegacyCamera if specified"

This patch does the complete reverse of what it's supposed to.

"ifeq (,$(findstring LegacyCamera,$(PRODUCT_PACKAGES)))" matches the _absence_ of LegacyCamera in the list of packages.


This reverts commit dd9c5ca25902e723b2229d1438be4c297e6f348a
Added system to build LegacyCamera if specified

Some devices (all 2011 Xperias, and most 2010 legacy devices) cannot use the
default Jellybean camera. Instead they can run the LegacyCamera app
This commit enables using LegacyCamera wrapped into Gallery apk like the
normal JB camera is wrapped into Gallery

To use, just add BOARD_USES_LEGACY_CAMERA := true to your BoardConfig

Credits:
Inspired by a patch by Bryan Gantt <dragonzkiller@gmail.com>
Enhanced by Rashed Abdel-Tawab <rashedabdeltawab@gmail.com>
Thanks for tips and hints from:
	- Konsta Tuomio <konsta09@gmail.com>
	- Arnav Gupta <championswimmer@gmail.com>
	- Ricardo Cerqueira <cyanogenmod@cerqueira.org>

Changelog:
Patch set 1: Fixed up the code
Patch set 2: Use BOARD_USES_LEGACY_CAMERA instead
Patch set 3: Fix up normal Camera stuff
Patch set 4: Clean up. This should be it
Patch set 5: Reomved whitespace, documented the if's and else's, ready to merge now

Change-Id: I2e07032e6a097b8334762af789bf2c72f2515cab
Gallery2: update pt-pt translations

Change-Id: Ia8a4e36d1c405fb359faa745e3c2be0bbf287864
Merge "Gallery2: update pt-pt translations" into jellybean
Merge branch 'jellybean' of https://github.com/CyanogenMod/android_packages_apps_Gallery2 into jellybean

Conflicts:
	Android.mk

Change-Id: I288b234c0b834a11cde036c7b883f3b65ee6a922