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

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

Merge "PanService: Check mNetworkFactory for null" am: 99b4ede1 am: 51067538

Change-Id: I53e106bf34c1f3caeabb686e4a6ed0e6254ee302
parents 6eef4c77 51067538
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -621,8 +621,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);
            }
        }