diff options
author | PauloftheWest <paulofthewest@google.com> | 2014-09-29 10:37:29 -0700 |
---|---|---|
committer | PauloftheWest <paulofthewest@google.com> | 2014-09-29 12:49:57 -0700 |
commit | 335b2b8f6f17c93a4c2b192c8e1b629e48b230b3 (patch) | |
tree | d66a1d3b2a6a667265fdffa9fd72a7a048338b71 /src/com/android/bluetooth/map | |
parent | 20326a3263b8bd71ea98d5ea88e53cf0f6715d33 (diff) | |
download | android_packages_apps_Bluetooth-335b2b8f6f17c93a4c2b192c8e1b629e48b230b3.tar.gz android_packages_apps_Bluetooth-335b2b8f6f17c93a4c2b192c8e1b629e48b230b3.tar.bz2 android_packages_apps_Bluetooth-335b2b8f6f17c93a4c2b192c8e1b629e48b230b3.zip |
Fixed a Bluetooth MAP bug.
+ Beforehand, if a user disabled MAP and then unpaired the device, then
Settings would automatically deny future MAP requests from the device.
Bug: 17391677
Change-Id: I068f37426ed6a044ed2b5e9391cd9dd00908f867
Diffstat (limited to 'src/com/android/bluetooth/map')
-rwxr-xr-x | src/com/android/bluetooth/map/BluetoothMapService.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/bluetooth/map/BluetoothMapService.java b/src/com/android/bluetooth/map/BluetoothMapService.java index b1442ddd3..f016fb162 100755 --- a/src/com/android/bluetooth/map/BluetoothMapService.java +++ b/src/com/android/bluetooth/map/BluetoothMapService.java @@ -460,6 +460,8 @@ public class BluetoothMapService extends ProfileService { switch (mState) { case BluetoothMap.STATE_CONNECTED: sendShutdownMessage(); + /* Disconnect all connections and restart all MAS instances */ + stopObexServerSessions(-1); result = true; break; default: |