mirror of https://github.com/M66B/NetGuard.git
Stop self
This commit is contained in:
parent
2e7071fe3a
commit
d4ccc3d5eb
|
@ -597,8 +597,10 @@ public class ServiceSinkhole extends VpnService implements SharedPreferences.OnS
|
|||
startForeground(NOTIFY_WAITING, getWaitingNotification());
|
||||
state = State.waiting;
|
||||
Log.d(TAG, "Start foreground state=" + state.toString());
|
||||
} else
|
||||
} else {
|
||||
state = State.none;
|
||||
stopSelf();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue