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

Commit 1e506a05 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "PAN: fix NEP when stop"

parents 33d07fae c6643b14
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -168,6 +168,10 @@ public class PanService extends ProfileService {

    @Override
    protected boolean stop() {
        if (!mStarted) {
            Log.w(TAG, "stop() called before start()");
            return true;
        }
        mAdapterService = null;
        if (mTetheringManager != null) {
            mTetheringManager.unregisterTetheringEventCallback(mTetheringCallback);