VpnService: Move it to a backends package

It should be split into two pieces: configuration file management
(loading/saving/renaming/deleting) and calling into wg-quick via
RootShell. The configuration file management part should then go
back into the main package. This is in preparation for adding
additional backends based on wg(8) and wireguard-go.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Samuel Holland
2017-11-24 21:16:37 -06:00
parent 69d4fe9a81
commit 50a7a12de2
12 changed files with 26 additions and 14 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
<import type="android.graphics.Typeface" />
<import type="com.wireguard.android.VpnService" />
<import type="com.wireguard.android.backends.VpnService" />
<variable
name="key"