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

Commit dc9c482a authored by Myles Watson's avatar Myles Watson Committed by Automerger Merge Worker
Browse files

Merge "PanService: Check mNetworkFactory for null" am: 4d42a73a

Change-Id: I9f21c97e9a6eaf32e83acb612834e96f3c0de64a
parents 6576b726 4d42a73a
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -609,8 +609,10 @@ public class PanService extends ProfileService {
                        getBaseContext(), getMainLooper(), this);
                mNetworkFactory.startReverseTether(iface);
            } else if (state == BluetoothProfile.STATE_DISCONNECTED) {
                if (mNetworkFactory != null) {
                    mNetworkFactory.stopReverseTether();
                    mNetworkFactory = null;
                }
                mPanDevices.remove(device);
            }
        }