OPP: Handle intent receiver leak for BT TURN OFF.

Mark INBOUND and OUTBOUND active transfer as cancelled
on BT TURN OFF.

Change-Id: I52e6d59ba56e004af2dc25b85975dfeb6c19320a
CRs-fixed: 552136
MAP: Fix MNS observer sync and sendevent exception issue.

Allow MNS Client sendEvent only when MNS Client is registered
and connected to fix NullPointer exceptions. Mark MNS disconnect
and observer registration as synchronized to handle synchronization
for operations from worker and main threads.

CRs-fixed: 571864
Change-Id: If34a6b67a1774f693ed42cfb6c871cd9563abe55
Bluetooth: Check A2dp device priority.

Add support to update stack for A2dp priority
of device.

Change-Id: I65971ffc68e055d68091f73a489a8d8c69c9420b
CRs-Fixed: 510957
Merge "OPP: Handle intent receiver leak for BT TURN OFF."
Bluetooth: Query phone service on Connect request.

This change makes sure that DUT sends proper
CIND values when connected to headset while
BT is turned ON. Headset state machine will
query BluetoothPhoneService when it receives
CONNECT request.

CRs-Fixed: 548493
Change-Id: I54b75f9d440066a9e871a33f7d727bad3c1e70ae
Bluetooth: Handling multiple BLDN commands.

This change will make sure that DUT returns
ERROR for AT+BLDN command if the dialling
process is already initiated, if queued
more than one BLDN command.

CRs-Fixed: 552289
Change-Id: I20c720f56d43777092ca31d6cdd43e3428e97e99
Merge "Bluetooth: Check A2dp device priority."
Merge "Bluetooth: Query phone service on Connect request."
Bluetooth: Update Element attributes response.

Add track number, genre and total number of track info in
meta data when requested by remote in element attributes.

Change-Id: I8f8224490f30185d387fc5b69fffce3559538f7f
CRs-Fixed: 568930
Merge "MAP: Fix MNS observer sync and sendevent exception issue."
Merge "Bluetooth: Update Element attributes response."
PBAP: Add strict phonebook name checking

This change adds strict phone book name checking
for every Get request for getting phonebook.

Change-Id: I29d7657eec0a3d30b620f303b5c6f284d9b80e7a
CRs-Fixed: 557481
Merge "PBAP: Add strict phonebook name checking"
Merge "Bluetooth: Handling multiple BLDN commands."
Bluedroid: PBAP: SIM Access support.

This patch adds access to support SIM database.

Change-Id: Ica2e3a5c9203634814c0f4063d3f4ab99ff080f5
CRs-Fixed: 509165
(cherry picked from commit 4bb632dc0a745833a3850cac1cbef50eb6f7467f)
(cherry picked from commit dcd8f79ca0b9f156bacfdec105c83f7cc321db4a)
(cherry picked from commit f9e4c8cfb76aba8b108342a5243d825ee42c6e35)
Bluedroid : Pbap : Add condition to point to correct phone book

This patch adds a condition for vcard listing to fetch the contacts
from SIM phone book entry insted of main phone book.

Change-Id: I6478b33bf7ac66432ed20100acabc75532849c1e
CRs-Fixed: 509165
(cherry picked from commit bf3acfad4858507c48dfb152bcce4da8008ad3f2)
(cherry picked from commit d0b5af62d36f641e06cc677fb54969c0f55f8025)
(cherry picked from commit 666d5b13b5245a92e59106d4e0dcf3f3dd5760a2)
Merge branch 'kk_2.7_rb1.10' of git://codeaurora.org/platform/packages/apps/Bluetooth into cm-11.0
Merge remote-tracking branch 'cm/cm-11.0' into kitkat