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

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

Merge "PAN: Delete disconnected PAN device from map" am: 092529d9 am: 1e68bd76

am: 7a156260

Change-Id: I5aba85a2c32f504f4c638b7a8f244851725b29ec
parents 3f86d75b 7a156260
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);
            }