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

Commit 5940db71 authored by William Escande's avatar William Escande
Browse files

AdapterService: Delete unused Map

Bug: 311772251
Test: m Bluetooth | no-op clean up
Flag: Exempt, basic cleanup
Change-Id: I7cbb71fc2340d4ad2df7a581f4eeac06de2370d0
parent 09499c3b
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -338,7 +338,6 @@ public class AdapterService extends Service {
    private boolean mCleaningUp;
    private final HashMap<BluetoothDevice, ArrayList<IBluetoothMetadataListener>>
            mMetadataListeners = new HashMap<>();
    private final HashMap<String, Integer> mProfileServicesState = new HashMap<String, Integer>();
    private Set<IBluetoothConnectionCallback> mBluetoothConnectionCallbacks = new HashSet<>();
    private final RemoteCallbackList<IBluetoothPreferredAudioProfilesCallback>
            mPreferredAudioProfilesCallbacks = new RemoteCallbackList<>();
@@ -1414,10 +1413,6 @@ public class AdapterService extends Service {
            mActiveDeviceManager.cleanup();
        }

        if (mProfileServicesState != null) {
            mProfileServicesState.clear();
        }

        if (mBluetoothSocketManagerBinder != null) {
            mBluetoothSocketManagerBinder.cleanUp();
            mBluetoothSocketManagerBinder = null;