SystemUI: Fix NavBar glow color resetting on reboot

Change-Id: I58b2ad6d6a064543aa668efce3595e2b2e92ee0b
Fix Hide NavBar for Tablets.
I'm not entirely sure what broke this to begin with.
I think it may be something with the Theme Engine and how
it handles the Views, etc.  But setting the View to GONE
was no longer working.
This code sets the Statusbar height to 0 when NavBar is hidden.

Change-Id: Ib763b20d56f8d19bb80d5465947c65f61e62c440
Signed-off-by: Mike Wilson <mwilson@acesappraisal.com>
Fix custom back button icon dissapearing on tablets
Signed-off-by: Mike Wilson <mwilson@acesappraisal.com>

Change-Id: Id89c7338e8245dd7b73e99ea97a420dee93f06e1
SystemUI: fix autorotate toggle

Change-Id: I09a79a999d454f35f235f07689cab973471cd716
auto-brightness corrections

Change-Id: I89809f9bb8a9d15c98bc8de539304dc0fb66e8fa
telephony: Consolidate Qualcomm RIL implementations

The RIL code for qualcomm devices was getting a bit messy (and
with a fair amount of duplicate code), so move all common code
to a new shared class, and keep only the minimum necessary
method overrides in the device-specific implementations

Change-Id: I50bf1f4efa30e637c825d9c5bf40ba3f2f130924
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
RIL: Qualcomm: Unbreak LTE

the mUSIM variable got badly scoped during the qcom telephony
refactoring, breaking LTE for LGE devices

Change-Id: I5186891d30fe9e0544aa2dee64474a6a27097952
Support GSM AT commands for SMS over bluetooth (1/2)

Modifications required to support the older GSM "AT+" commands for SMS over
the bluetooth transport for use with car radios, etc.  This must piggy back
on the existing handsfree code as the spec uses that channel for the commands.
(2 parts: frameworks/base and packages/apps/Phone)

frameworks/base:
Additions to JNI and supporting framework code to allow sending of individual
characters and to receive the PDU stream - neither of which are CR terminated.

Patch-set 2: cleaned out trailing spaces and tabs

Signed-off-by: Gary D <garyd9@gmail.com>
Change-Id: I1bd62e17496b5fdbd2f545b50c925863eb2fda2c
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)
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
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>
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>
GlobalActions: Fix themeing of the ShutdownThread

Apply the correct UI context so the reboot dialog is properly
themed

Change-Id: I115c81538ab9c27223b2090279f877d5b68d6dd3