diff options
author | Arne Schwabe <arne@rfc2549.org> | 2022-02-18 17:09:45 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2022-02-18 17:09:45 +0100 |
commit | 78f2d906dd55811cc657e801847cd9315ae05cbf (patch) | |
tree | f593904e4e649d32d56b8a5470bd747728dadbee /main/src/ui/java | |
parent | 2bb11be97a18253168ae1938e265220caf91bcbd (diff) |
Use stdin instead android.conf in the file system to pass OpenVPN config
Diffstat (limited to 'main/src/ui/java')
-rw-r--r-- | main/src/ui/java/de/blinkt/openvpn/OpenVPNTileService.java | 2 | ||||
-rw-r--r-- | main/src/ui/java/de/blinkt/openvpn/fragments/OpenVpnPreferencesFragment.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/main/src/ui/java/de/blinkt/openvpn/OpenVPNTileService.java b/main/src/ui/java/de/blinkt/openvpn/OpenVPNTileService.java index c9ce9745..1c5dd0e5 100644 --- a/main/src/ui/java/de/blinkt/openvpn/OpenVPNTileService.java +++ b/main/src/ui/java/de/blinkt/openvpn/OpenVPNTileService.java @@ -116,7 +116,7 @@ public class OpenVPNTileService extends TileService implements VpnStatus.StateLi VpnProfile vpn; Tile t = getQsTile(); if (level == ConnectionStatus.LEVEL_AUTH_FAILED || level == ConnectionStatus.LEVEL_NOTCONNECTED) { - // No VPN connected, use stadnard VPN + // No VPN connected, use standard VPN vpn = getQSVPN(); if (vpn == null) { t.setLabel(getString(R.string.novpn_selected)); diff --git a/main/src/ui/java/de/blinkt/openvpn/fragments/OpenVpnPreferencesFragment.java b/main/src/ui/java/de/blinkt/openvpn/fragments/OpenVpnPreferencesFragment.java index 8bbc14b0..a3c19955 100644 --- a/main/src/ui/java/de/blinkt/openvpn/fragments/OpenVpnPreferencesFragment.java +++ b/main/src/ui/java/de/blinkt/openvpn/fragments/OpenVpnPreferencesFragment.java @@ -28,7 +28,7 @@ public abstract class OpenVpnPreferencesFragment extends PreferenceFragmentCompa super.onCreate(savedInstanceState); String profileUUID = getArguments().getString(getActivity().getPackageName() + ".profileUUID"); - mProfile = ProfileManager.get(getActivity(),profileUUID); + mProfile = ProfileManager.get(getActivity(), profileUUID); getActivity().setTitle(getString(R.string.edit_profile_title, mProfile.getName())); } |