Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a1e1be2 authored by PauloftheWest's avatar PauloftheWest
Browse files

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
parent f203cf7b
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -460,6 +460,8 @@ public class BluetoothMapService extends ProfileService {
            switch (mState) {
            switch (mState) {
                case BluetoothMap.STATE_CONNECTED:
                case BluetoothMap.STATE_CONNECTED:
                    sendShutdownMessage();
                    sendShutdownMessage();
                    /* Disconnect all connections and restart all MAS instances */
                    stopObexServerSessions(-1);
                    result = true;
                    result = true;
                    break;
                    break;
                default:
                default: