Squash all 4.2.2 changes into one

Workaround for visible horizontal line in SRI pano

Bug: 7506612

Adjust the weight of the layout's so that the sum of the weights
is a factor of the height/width for vertical/horizontal linear layout
respectively.

Change-Id: I98f9a56ad0d496169d7395708c8059d4e2f2af79
TODO: Work with Frameworks to investigate the root cause.

Gray out location setting in secure camera

Bug: 7532731
Change-Id: I1f0c0341c226a79e4a3e50c8e3a6053c2b46a4f1

Remove the horizontal line in pano portrait

Bug: 7555573
Change-Id: I61077f939faa4c5de131109e36909aaa65f1f910

Fix shutter button missing in pano

Bug: 7553175

Shutter button in SRI pano mode is missing even though it is set
to be visible after coming back from lightcycle. So here we do a
layout request to force the shutter button to show.

Change-Id: I004cb29e78018ae48639934c615818e644f56bbf

Enable play button in video review

  Bug: 7554804

Change-Id: I435f34c6fb36d0b5c2d220ed6cfb630836ade3c1

Remove orientation compensation

 Bug: 7446056

Change-Id: Ie01d7c705bf86db72dff4b3cbf9ee7f4491271cd

Prevent Camera UI from showing up in Galllery

  Bug: 7634363

Confirm fullscreen state (camera mode) after camera and UI are started

Change-Id: I7b1d730f83095dcaa403945a4c2e098888ef8496

Don't re-launch activities we already started

 Bug: 7650419

Change-Id: Id5831fa6878be23b2123381bbc922554eb0afb1a

unbreak the build by picking in the fix from bryce.

apparently the patch I60ba89b4 in bryce works around a known issue in aapt.

Change-Id: I0468270273350654239be93ef6346d531951f778

Fix picture size option for Arabic languages

  Bug: 7680113

Use English locale when using String.format
to convert numbers

Change-Id: I0efde459efb571a22e5e3afb23659633c4874c05

Fix Build Derp

Change-Id: I9c80bad918023dbdba9c654e80666a7dd3afa889

Conflicts:
	src/com/android/camera/CameraActivity.java
Camera: Add shortcut to Gallery in CameraSwitcher

Adds shortcut to Gallery via Camera UI in switcher
----
* Thanks to kwesley for images

Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>
Change-Id: Ibe3555248fc50b56876e8cd7f8282d6107bb1d6e
Animate mode switching

This makes switching between modes i.e.,
camera to video etc. have smoother animations

Credits: John Reck

Change-Id: I26e8e12d2867c45cea5e5e0a2a63421c7373399d