mirror of
https://github.com/M66B/NetGuard.git
synced 2025-01-01 21:04:08 +00:00
Explain start on boot
This commit is contained in:
parent
299913db27
commit
b3671ea245
2 changed files with 5 additions and 0 deletions
|
@ -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) {
|
||||
|
|
|
@ -207,6 +207,7 @@ Your internet traffic is not being sent to a remote VPN server.</string>
|
|||
<string name="msg_system">Managing all (system) applications can be enabled in the settings</string>
|
||||
<string name="msg_issue">Please describe the problem and indicate the time of the problem:</string>
|
||||
<string name="msg_vpn_cancelled">VPN connection cancelled\nDid you configure another VPN to be an always-on VPN?</string>
|
||||
<string name="msg_on">Powering down your device with NetGuard enabled, will automatically start NetGuard on powering up your device</string>
|
||||
|
||||
<string name="title_unmetered_allowed">Unmetered traffic is allowed</string>
|
||||
<string name="title_unmetered_blocked">Unmetered traffic is blocked</string>
|
||||
|
|
Loading…
Reference in a new issue