Updated contributing section

This commit is contained in:
M66B 2015-11-23 08:45:59 +01:00
parent 9710d60eb8
commit 37559ae4ca
2 changed files with 6 additions and 0 deletions

View File

@ -175,10 +175,14 @@ Current translations:
1. Polish (pl) 1. Polish (pl)
1. Romanian (ro) 1. Romanian (ro)
1. Russian (ru) 1. Russian (ru)
1. Portuguese/Brazilian (pt-rBR)
1. Slovak (sk) 1. Slovak (sk)
1. Spanish (es) 1. Spanish (es)
1. Turkish (tr)
1. Ukrainian (uk) 1. Ukrainian (uk)
You can see the actual status of all translations [here](https://crowdin.com/project/netguard).
Please note that you agree to the license below by contributing, including the copyright. Please note that you agree to the license below by contributing, including the copyright.
Attribution Attribution

View File

@ -109,6 +109,8 @@ public class SinkholeService extends VpnService {
if (vpn == null) { if (vpn == null) {
startForeground(NOTIFY_FOREGROUND, getForegroundNotification(0, 0)); startForeground(NOTIFY_FOREGROUND, getForegroundNotification(0, 0));
vpn = startVPN(); vpn = startVPN();
if (vpn == null)
throw new IllegalStateException("VPN failed to start");
startDebug(vpn); startDebug(vpn);
removeDisabledNotification(); removeDisabledNotification();
Widget.updateWidgets(SinkholeService.this); Widget.updateWidgets(SinkholeService.this);