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

Commit 7a232155 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "PAN: Delete disconnected PAN device from map"

parents 0d50ea7a 24c949c9
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -574,9 +574,7 @@ public class PanService extends ProfileService {
                    + ", prevState = " + prevState);
            if (state == BluetoothProfile.STATE_CONNECTED) {
                mNetworkFactory.startReverseTether(iface);
            } else if (state == BluetoothProfile.STATE_DISCONNECTED && (
                    prevState == BluetoothProfile.STATE_CONNECTED
                            || prevState == BluetoothProfile.STATE_DISCONNECTING)) {
            } else if (state == BluetoothProfile.STATE_DISCONNECTED) {
                mNetworkFactory.stopReverseTether();
                mPanDevices.remove(device);
            }