Bluetooth: Add Compilation check Based on used Bluetooth Stack

Change-Id: I861d04aacbd227eeaf59ef13d722292b3f716d4a
Merge "Bluetooth: Add Compilation check Based on used Bluetooth Stack"
Merge commit 'android-4.2.2_r1' into Upgrade_branch

* commit 'android-4.2.2_r1':
  need send status code back(OK) after broadcast the intent(VENDOR_SPECIFIC_HEADSET_EVENT)
  Clean up debug messages
  Code to broadcast VENDOR_SPECIFIC_HEADSET_EVENT missing
  need to send BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED intent to all users
  Fixed potention ANR issue with Bluetooth OPP share.
Merge "Merge commit 'android-4.2.2_r1' into Upgrade_branch"
Merge remote-tracking branch 'caf/jb_2.5' into cm-10.1