mirror of https://github.com/M66B/NetGuard.git
Added allways-on VPN hint after cancelled VPN connection
This commit is contained in:
parent
f284608728
commit
e02b59b442
|
@ -508,7 +508,8 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
|
|||
if (resultCode == RESULT_OK) {
|
||||
ServiceSinkhole.start("prepared", this);
|
||||
checkDoze();
|
||||
}
|
||||
} else if (resultCode == RESULT_CANCELED)
|
||||
Toast.makeText(this, R.string.msg_vpn_cancelled, Toast.LENGTH_LONG).show();
|
||||
|
||||
} else if (requestCode == REQUEST_INVITE) {
|
||||
// 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_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="title_unmetered_allowed">Unmetered traffic is allowed</string>
|
||||
<string name="title_unmetered_blocked">Unmetered traffic is blocked</string>
|
||||
|
|
Loading…
Reference in New Issue