Launch music player on headset connect

Launches the default music player when a headset is connected

Change-Id: Ib97077191c52b14e552265456312162b6ad3fdcd
Fix our bt and go back to AOSP

Revert "Bluetooth: Add trust device feature."

This reverts commit 12eacc798f754127eec8f85bea9cc23a7eb5f696.

Revert "Bluetooth: HID: Add support for Set Idle and Get Idle Commands"

This reverts commit 7b94ea319014574b3bc12c5a687e9c4e7ca4cfb7.
Add support for Samsung extended AGPS

The AGPS implementation in the GPS chipset used in some Samsung devices
(i9100, i9300) can make use of the Psc field. Adapt the relevant
functions hiding the changes incompatible with other devices under the
AGPS_USE_PSC #define.

Credit to Qaweck from xda-developers forum for finding the meaning
of the field.

Change-Id: Ie4691c79ca379a1f5c0a87500c1b06b56ae7ac0d
Improve scrolling cache

Scrolling cache helps make short scrolls/flings smooth but will
cause stutter when long flings are made. This patch disables
scrolling cache when long flings are made.

This patch also fixes a related bug where scrolling cache will
not be enabled properly when transitioning from flinging to scrolling.

Patch Set 2: Calculate threshold based on maximum velocity (Sang Tae Park)

Credits: Pawit Pornkitprasan

Change-Id: I1fdbaad92263c9f983a32900e74eba1f0367902b
Signed-off-by: Arham Jamal <arhamjamal@gmail.com>
Frameworks: Listanimation views and interpolator (1/2)

thanks team ThinkingBridge for it. Difference to original implementation

- code cleanup
- some smaller code fixes
- remove of rotation animation due it is to laggy
- multiuser support

Change-Id: Id439a284dc3a42687fec5d49914ca1119a6e9215
Frameworks: fix possible NPE on SlimPIE

some activity chooser (from launchers) give the user choices which do not
exist and would give back a null drawable. To prevend the NPE
check the drawable for null

Change-Id: I3c2c1e1ddff32b383f1ee24e41de22a9a4524ff3
Merge remote-tracking branch 'Slim/jb4.3' into slim4.3