Add GPS tags and timestamp to Exif when photo is saved

Patchset 2: Fix formatting
            Sync exif code of PhotoModule and PanoramaModule

Change-Id: I8b6f77687f01c537a2a3d5bb2b2d8b4ad21642c8
Gallery2: Fix filmstrip source index

Filmstrip has 1 item more (the camera itself). Do not count the Camera as an item

Change-Id: I2027d857c08477cb0303e74c15818be1fc979104
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Gallery2: Fix showOnMap method

If the context is ProxyLauncher, showOnMap will make crash the Gallery app if
GoogleMaps not exists, because the double call to startActivity.
Just query the intent before call the startActivity method.

Change-Id: I2e2637626d9f81780f48625bef52e861180e002c
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Camera: fix gfx undefined buffer issue

clear the render target before drawing, fix the undefined buffer
mess up issue of preview layer

Change-Id: I093fc0bdaf292fed2bc7f1a6d2678a94f25c9d55
CRs-fixed: 503216 506709
Merge "Gallery2: Fix filmstrip source index" into cm-10.2
Merge "Gallery2: Fix showOnMap method" into cm-10.2
Merge "Camera: fix gfx undefined buffer issue" into cm-10.2
Gallery2: Fix show on map typo

Change-Id: I80cc825d3adf17fde9d245a71a4756f35bcd232f
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
VideoModule: check for videosnapshot support in onSingleTapUp

onSingleTapUp is now triggered through PreviewGestures instead of
ActivityBase, so the check in initializeVideoSnapshot() is no
longer enough to prevent triggering video snapshot on unsupported
devices.

Change-Id: I5f6e14f1125a9d47e03bb35fdc4ff358c589b73e
Camera: don't display picture size unless supported

Otherwise the option will force close when selected

Change-Id: I2047c90ab08e7d7abcf11d817b5ddf106df2c732
Gallery2: zh-rTW translations

Change-Id: If376d3531f1507fa8463c2a4915367ef73cde790
Gallery2: CA translations

Change-Id: Iaec45b8ca425b13ebd7a2faacb7bd6fbe7bc4f7c
Merge remote-tracking branch 'cm/cm-10.2' into cm-10.2