Fix compass in Gmapps and other apps.
Older devices without Gyros haven't had working compass in certain apps that look for Gyro information. This feed them info from the compass. Credit CM Gerrit.
Signed-off-by: Steve Spear <stephen.k.spear@gmail.com>

Change-Id: I262d317231af9141f09e745cf5a362e68462442e
add boot audio - credit team bamf - requires boot_audio.mp3 in system/media

Change-Id: I7af75944ff9c3e0cb854233c15e6d5dd153f3c61
Bluetooth: added more music players for AVRCP1.3 support

Change-Id: I4c2f38a6a255e1a6fb4a595c5fde1425235bc968
Issue: Foreground activity performs [Resume] and [Pause] when any process died in sleep mode.

Step to Reproduce
1)	Turn off device’s screen. (Sleep mode)
2)	Kill any process.
A.	Engineer Version: kill [PID]
B.	User Version: am force-stop [Package Name]
3)	Foreground activity proceed [Resume] and [Pause] consecutively.

Reason: Since ICS version, activity goes to stopped status when screen turns off.
stopIfSleepingLocked( ) makes activity to stopped status but, pauseIfSleepingLocked( ) was used in GB
and, activity keep paused status and, this problem did not occur.
This change give effect to resuming activity when any process was killed.
Because, resume is proceed without exception for activity status.
The exception only filtered for [ActivityState.PAUSED] in sleep or shutdown mode.
and, resume complete flow when activity status was [ActivityState.STOPPED].

Solution for this issue:
We think that exception’s condition have to change if stopped activity status is intended in sleep mode.
According to activity life cycle, activity can not resume from stop status.

Also check [ActivityState.STOPPING]. :)

Change-Id: Icca3366ac30ffa3b18f6e2393e4d7309089ef26a
Fix for too many binder calls in packagemanager

The packagemanager uses a ParceledListSlice to send back its lists
of installed packages and apps. The list slice has a method append
which, in addition to adding the item to the list, also returns true
if the list has passed a size limit (about 1/4 of the total possible
IPC parcel size) to let the caller know that he should send the
slice. However, when used by the pm, it has an extra ! that makes it
send whenever it ISN'T over this limit instead (and conversely, not
send if it is under). This causes a lot more calls than needed since
it sends tiny one item slices instead of larger ones. This patch
removes the extra ! making it behave correctly.

Change-Id: I8db46d380a25406b55f3214aee1505e81949acc5
fix mobile data toggle not updating

Change-Id: Ifd2c16bbc3b7ad545ba094663e0f2875edc3182f
Signed-off-by: Roman Birg <romanbirg@gmail.com>
don't apply notification icon transparency to status icons

Only set the settingsObserver for icons created with a notification.
This corrects an issue where the "Notification icon transparency" slider was
impacting both notification and status (bluetooth, vibrate, etc) icons.

Change-Id: I8c9dadd337a81d4e109128bd95d64cdc2a94151a
Signed-off-by: Gary D <garyd9@gmail.com>
Bluetooth: fixed possible NullPointerException

Change-Id: I8d91c6e38bc53e30b51e207633862c1848b16dfe
Add back long press home setting/action
This will allow PhoneWindow Manager to obey
the LongPress Home actions if set by
ROMControl.  If no action is set,
it will follow the config_longPressOnHomeBehavior
defined in config.xml

Change-Id: Ieea46f93feb2fe7cc993cbc609d6d332252db930
Signed-off-by: Mike Wilson <mwilson@acesappraisal.com>
QualcommNoSimReadyRIL: Support radio state in new generation rils

The radio-state enums in CAF's ICS have changed from GB, radio_on is
now 10

Change-Id: I81f84a551bec0537925c4b34aa158b7c7a037f59
Merge "Issue: Foreground activity performs [Resume] and [Pause] when any process died in sleep mode." into ics
Merge "Fix for too many binder calls in packagemanager" into ics
Merge "Bluetooth: fixed possible NullPointerException" into ics
Merge "fix mobile data toggle not updating" into ics
Merge "Add back long press home setting/action This will allow PhoneWindow Manager to obey the LongPress Home actions if set by ROMControl.  If no action is set, it will follow the config_longPressOnHomeBehavior defined in config.xml" into ics
Bluetooth: Add MAP Profile features (#3857)

Change-Id: I2e3f3e22dae67792d052f99f6a38367b6b855fb9
LGEQualcommUiccRIL: Fix PIN/PUK operations

PIN/PUK settings/changing/disabling was broken due to missing parcel
items, fix it;
Each set of strings must be prepended by a count of said strings.

Change-Id: I902eea6ba275b24e105f1b42f7d5d9f23e76d0c5
SamsungRIL: clean up and re-organization

Clean up some messy code in the Samsung RIL.

Change-Id: If8bc9c0e4264de5919be1b6a858896076c879708
Telephony: Add getLteOnGsmMode() method

Same functionality as the existing getLteOnCdmaMode, but for GSM
LTE devices.
Enable with the telephony.lteOnGsmDevice system property

Change-Id: Ibfb47ca608e51393b99d3308e0a6c66050b3f32e
LGEQualcommUiccRIL: Adapt to new GSM+LTE support

User LTE preferences now stick, instead of resetting to LTE-on after
reboot

Change-Id: If8285af9a9eeaa70594f8a10ce5d8177b5fe030f