mirror of
https://github.com/M66B/NetGuard.git
synced 2025-02-22 06:10:56 +00:00
Start sticky when not stopping
This commit is contained in:
parent
17015fdbd1
commit
b1ea4f433c
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ public class SinkholeService extends VpnService {
|
|||
msg.obj = intent;
|
||||
mServiceHandler.sendMessage(msg);
|
||||
|
||||
return START_STICKY;
|
||||
return (cmd == Command.stop ? START_NOT_STICKY : START_STICKY);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue