Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Wade
DnsChanger
Commits
bfd36f59
Commit
bfd36f59
authored
Apr 13, 2018
by
Daniel Wolf
Browse files
Stop the VPN service when starting the rule import
parent
a9e8eec6
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/com/frostnerd/dnschanger/services/RuleImportService.java
View file @
bfd36f59
...
...
@@ -79,6 +79,9 @@ public class RuleImportService extends Service {
if
(
first
)
new
Thread
(){
@Override
public
void
run
()
{
if
(
DNSVpnService
.
isServiceRunning
()){
startService
(
DNSVpnService
.
getDestroyIntent
(
RuleImportService
.
this
));
}
try
{
startImport
();
}
catch
(
IOException
e
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment