summaryrefslogtreecommitdiff
path: root/main/src/main/java/de/blinkt/openvpn/core/VPNLaunchHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/main/java/de/blinkt/openvpn/core/VPNLaunchHelper.java')
-rw-r--r--main/src/main/java/de/blinkt/openvpn/core/VPNLaunchHelper.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/core/VPNLaunchHelper.java b/main/src/main/java/de/blinkt/openvpn/core/VPNLaunchHelper.java
index 7f9508b1..cbb27c22 100644
--- a/main/src/main/java/de/blinkt/openvpn/core/VPNLaunchHelper.java
+++ b/main/src/main/java/de/blinkt/openvpn/core/VPNLaunchHelper.java
@@ -22,7 +22,6 @@ import de.blinkt.openvpn.VpnProfile;
public class VPNLaunchHelper {
private static final String MINIPIEVPN = "pie_openvpn";
- private static final String OVPNCONFIGFILE = "android.conf";
private static String writeMiniVPN(Context context) {
String nativeAPI = NativeUtils.getNativeAPI();
@@ -68,7 +67,7 @@ public class VPNLaunchHelper {
args.add(binaryName);
args.add("--config");
- args.add(getConfigFilePath(c));
+ args.add("stdin");
return args.toArray(new String[0]);
}
@@ -122,10 +121,4 @@ public class VPNLaunchHelper {
}
}
-
-
- public static String getConfigFilePath(Context context) {
- return context.getCacheDir().getAbsolutePath() + "/" + OVPNCONFIGFILE;
- }
-
}