diff options
author | Hemant Gupta <hemantg@codeaurora.org> | 2014-11-18 22:49:13 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2014-12-09 23:56:36 -0800 |
commit | 73b2dbb83c3fc3e343dedf641140242868102ad9 (patch) | |
tree | 4c221f87b50b2ee7d655dcc95888f981dfdb2f83 /src/com/android/bluetooth/map | |
parent | 2b582a6914f8e13a261b5a66567517ac62074f74 (diff) | |
download | android_packages_apps_Bluetooth-73b2dbb83c3fc3e343dedf641140242868102ad9.tar.gz android_packages_apps_Bluetooth-73b2dbb83c3fc3e343dedf641140242868102ad9.tar.bz2 android_packages_apps_Bluetooth-73b2dbb83c3fc3e343dedf641140242868102ad9.zip |
PBAP: Add support for handling connection state
This patch adds support for updating connection state for pbap server
on settings UI. A new flag is added to allow settings sub menu to
show pbap preference only when remote device has intiaited pbap
request and not for all devices for which user has started/accepted
pairing request from remote device.
Change-Id: I3ba777a6be4a6321a260739b9a87a8c6054a74d3
CRs-Fixed: 758697
Diffstat (limited to 'src/com/android/bluetooth/map')
-rw-r--r-- | src/com/android/bluetooth/map/BluetoothMapService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/bluetooth/map/BluetoothMapService.java b/src/com/android/bluetooth/map/BluetoothMapService.java index 413cd51d1..7582766b1 100644 --- a/src/com/android/bluetooth/map/BluetoothMapService.java +++ b/src/com/android/bluetooth/map/BluetoothMapService.java @@ -1029,7 +1029,7 @@ public class BluetoothMapService extends ProfileService { } } else if (action.equals(BluetoothDevice.ACTION_CONNECTION_ACCESS_REPLY)) { int requestType = intent.getIntExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE, - BluetoothDevice.REQUEST_TYPE_PHONEBOOK_ACCESS); + BluetoothDevice.REQUEST_TYPE_MESSAGE_ACCESS); if (DEBUG) Log.d(TAG, "Received ACTION_CONNECTION_ACCESS_REPLY:" + requestType + "isWaitingAuthorization:" + isWaitingAuthorization); if ((!isWaitingAuthorization) || |