From b3671ea245539b747d1a71a73772ad4e51278a46 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 11 Mar 2017 12:21:59 +0100 Subject: [PATCH] Explain start on boot --- app/src/main/java/eu/faircode/netguard/ActivityMain.java | 4 ++++ app/src/main/res/values/strings.xml | 1 + 2 files changed, 5 insertions(+) diff --git a/app/src/main/java/eu/faircode/netguard/ActivityMain.java b/app/src/main/java/eu/faircode/netguard/ActivityMain.java index b09f080e..28086351 100644 --- a/app/src/main/java/eu/faircode/netguard/ActivityMain.java +++ b/app/src/main/java/eu/faircode/netguard/ActivityMain.java @@ -189,6 +189,10 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences prefs.edit().putBoolean("enabled", isChecked).apply(); if (isChecked) { + Toast on = Toast.makeText(ActivityMain.this, R.string.msg_on, Toast.LENGTH_LONG); + on.setGravity(Gravity.CENTER, 0, 0); + on.show(); + try { final Intent prepare = VpnService.prepare(ActivityMain.this); if (prepare == null) { diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index d54bd23f..8bd54319 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -207,6 +207,7 @@ Your internet traffic is not being sent to a remote VPN server. Managing all (system) applications can be enabled in the settings Please describe the problem and indicate the time of the problem: VPN connection cancelled\nDid you configure another VPN to be an always-on VPN? + Powering down your device with NetGuard enabled, will automatically start NetGuard on powering up your device Unmetered traffic is allowed Unmetered traffic is blocked