SystemUI: Fix NavBar glow color resetting on reboot

Change-Id: I58b2ad6d6a064543aa668efce3595e2b2e92ee0b
ShutdownThread: Set property to indicate radio shutdown

This property is to be used to set action to perform radio
file system force sync on certain msm platforms.

CRs-Fixed: 337095
(cherry picked from commit 3548c1002c1f720695ebda6070dca85e98e46e00)

Change-Id: I408a3a88b21a21fb535b2fee6350c66913b4ceee
framework/base: Wait for EFS sync to complete

Wait for radio sync to complete before continuing with system
shutdown

CRs-Fixed: 349502
(cherry picked from commit c236978e95bee6957a8636d094d3b703c5cc22df)

Change-Id: I57d078f21d282b6a0ee86c8b9b1ac8bb6af9c1ab
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>
Merge "SystemUI: Fix NavBar glow color resetting on reboot" into ics
Merge "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." into ics
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
Merge "telephony: Consolidate Qualcomm RIL implementations" into ics
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)
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