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

Commit 331863a6 authored by Sungsoo Lim's avatar Sungsoo Lim
Browse files

Guard mPbapStateMachineMap

Bug: 287538055
Test: atest BluetoothPbapServiceTest
Change-Id: Ie56896dc64d11a362cf41b327c2dc7e6d01f2bc6
parent 804d8083
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -725,7 +725,9 @@ public class BluetoothPbapService extends ProfileService implements IObexConnect
        getContentResolver().unregisterContentObserver(mContactChangeObserver);
        mContactChangeObserver = null;
        setComponentAvailable(PBAP_ACTIVITY, false);
        synchronized (mPbapStateMachineMap) {
            mPbapStateMachineMap.clear();
        }
        return true;
    }