SystemUI: fix autorotate toggle

Change-Id: I09a79a999d454f35f235f07689cab973471cd716
Feature : Volume adjust sound preference 1/2

Adjusting the volume makes a nice "boing" sound
Personally I find this annoying
This patch makes this a preference in
Settings | Sound
    Volume adjust sound
        Play sound when adjusting volume with hard keys

The Checkbox is defaulted to ON (1 in defaults.xml)

Look for 2/2 for the Settings, Sound Panel Change

Change-Id: Iad89a0c49288094e21824aa9c9e1bf98c29cfec3
libstagefright: Remove assert failure for kKeyHfr

- Remove assert failure if kKeyHfr is not present in
  meta data.
- Assume normal mode recording if kKeyHfr is absent

Change-Id: I17e29c943cc8886df9e8976487c05aabc54c3129
(cherry picked from commit 9fb63299bf27bd30f8a0fab5b9c2777e4342f154)
Merge "libstagefright: Remove assert failure for kKeyHfr" into ics
Camera: Handle error event from HAL + burst mode code clean up.

(a)Error mapping is not proper so change the error type from UNKNOWN_ERROR
   to CAMERA_ERROR_UNKNOWN.

(b)Ccde clean up for burst mode.

Change-Id: I9ba351eba9526f0f274f52b12003b7ea0aae12be
stagefright: Fix camcorder effects on MSM8660.

 * Patch adapted from
   https://www.codeaurora.org/gitweb/quic/la/?p=platform/frameworks/base.git;a=commit;h=a686ca15dc27aeeeffa3a0039c2c546af7f6272f
 * We need to use buffers from the MM heap on the 8660 devices I am
   testing.

Change-Id: I1e31f2db521834a068e11d48e88547044b0c906f
libstagefright: Unbreak live effects

Change I1e31f2db521834a068e11d48e88547044b0c906f broke live effects
for (probably all) non-Samsung msm8660 devices. Use platform-based
logic to choose the correct memory pool (SMI for 8660 and MM for
everyone else), and add a build-time switch for devices that always
want MM regardless of platform (BOARD_CAMERA_USE_MM_HEAP)

Change-Id: I103946c40548f319bb1446f75a6a539aa3eb51b8
Merge "Camera: Handle error event from HAL + burst mode code clean up." into ics
Merge "stagefright: Fix camcorder effects on MSM8660." into ics
Merge "libstagefright: Unbreak live effects" into ics
stagefright: add uniformity to Android.mk

Signed-off-by: Jonathan Steadman <xxwhitehawk@gmail.com>
Change-Id: Ia163f2234e34e56fd10847dfff20a3f337b4aa88
Lock Screen memory leak fix
SettingsObserver class has a reference to its outer class, LockScreen It needs
to be unregistered from the list of ContentObservers in order for the garbage
collector to free the LockScreen instance.  This fixes the lock screen memory
leak.

To observe the memory leak, run this under adb shell/root terminal:
while :; do
  dumpsys meminfo system | egrep 'Dalvik|Views'
  sleep 10
done
And then lock/unlock multiple times.  The "Private Dirty Dalvik" memory will go
up between 300k-500k per lock, and Views will go up by about 10.

Signed-off-by: Dan Drown <dan-android@drown.org>
Merge "Feature : Volume adjust sound preference 1/2" into ics
Merge "Lock Screen memory leak fix SettingsObserver class has a reference to its outer class, LockScreen It needs to be unregistered from the list of ContentObservers in order for the garbage collector to free the LockScreen instance.  This fixes the lock screen memory leak." into ics
Merge "SystemUI: fix autorotate toggle" into ics
restart SystemUI on theme change

This will forcefully (and ungracefully!) restart the
	SystemUI process, to recreate it cleanly and apply
	the theme without any errors. SystemUI usually takes
	~5 seconds to restart.

Change-Id: I00ffa98d06c5ddbf09aaf036eeec838d20cfb409
Update Simplified Chinese translations for statusbar toggles
Signed-off-by: YULIANGMAX <yuliangmax@gmail.com>

Change-Id: Iacd525bf3e95bb73e56360fdf90c63117884597b
Update Simplified Chinese translations for all text

Change-Id: Id8ac7f27b5ade62f6f0e39acee9106ec3468e100
Signed-off-by: YULIANGMAX <yuliangmax@gmail.com>
Modified xml files to allow for easier theming of the nav bar background through the Theme Chooser

Change-Id: I28568e7fba1bb2e54017030ef966781511edf92a
Signed-off-by: Nick Miltner <nickandcindym@gmail.com>
Merge "restart SystemUI on theme change" into ics