mirror of
https://github.com/M66B/NetGuard.git
synced 2025-02-24 15:21:19 +00:00
Added allways-on VPN hint after cancelled VPN connection
This commit is contained in:
parent
f284608728
commit
e02b59b442
2 changed files with 3 additions and 1 deletions
|
@ -508,7 +508,8 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
|
||||||
if (resultCode == RESULT_OK) {
|
if (resultCode == RESULT_OK) {
|
||||||
ServiceSinkhole.start("prepared", this);
|
ServiceSinkhole.start("prepared", this);
|
||||||
checkDoze();
|
checkDoze();
|
||||||
}
|
} else if (resultCode == RESULT_CANCELED)
|
||||||
|
Toast.makeText(this, R.string.msg_vpn_cancelled, Toast.LENGTH_LONG).show();
|
||||||
|
|
||||||
} else if (requestCode == REQUEST_INVITE) {
|
} else if (requestCode == REQUEST_INVITE) {
|
||||||
// Do nothing
|
// Do nothing
|
||||||
|
|
|
@ -202,6 +202,7 @@ Your internet traffic is not being sent to a remote VPN server.</string>
|
||||||
<string name="msg_push">Incoming (push) messages are mostly handled by the system component Play services, which is allowed internet access by default</string>
|
<string name="msg_push">Incoming (push) messages are mostly handled by the system component Play services, which is allowed internet access by default</string>
|
||||||
<string name="msg_system">Managing all (system) applications can be enabled in the settings</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_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="title_unmetered_allowed">Unmetered traffic is allowed</string>
|
<string name="title_unmetered_allowed">Unmetered traffic is allowed</string>
|
||||||
<string name="title_unmetered_blocked">Unmetered traffic is blocked</string>
|
<string name="title_unmetered_blocked">Unmetered traffic is blocked</string>
|
||||||
|
|
Loading…
Reference in a new issue