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

Commit c91216d1 authored by Hemant Gupta's avatar Hemant Gupta Committed by android-build-merger
Browse files

Merge "PAN: Delete disconnected PAN device from map" am: 7a232155 am: cbf5b82c

am: 7880ec36

Change-Id: I5aba85a2c32f504f4c638b7a8f244851725b29ec
parents d84b0bc2 7880ec36
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);
            }