aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/java/com/wireguard/android/VpnService.java (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-11-24VpnService: Move it to a backends packageSamuel Holland1-484/+0
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>
2017-11-08VpnService: Add helper for importing configsSamuel Holland1-0/+50
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-07Bindings: Move to a separate packageSamuel Holland1-0/+2
These are really app-independent reusable classes. Moving them to a separate package helps avoid polluting the main app package, and makes them easier to upgrade. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-24Centralize/unify validation of configurationsSamuel Holland1-1/+9
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-23VpnService: Fix some edge cases in ConfigUpdaterSamuel Holland1-18/+19
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-17QuickTileService: Implement and update from VpnServiceSamuel Holland1-0/+19
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-17VpnService: Use a string to remember the primary configSamuel Holland1-23/+29
This allows simplifies the code a bit. Also, a few other minor changes. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-17VpnService: Remove extraneous call to super()Samuel Holland1-1/+0
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-17Convert to using the ObservableTreeMap and its adapterSamuel Holland1-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-16VpnService: Remember and optionally restore enabled configsSamuel Holland1-0/+20
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-16VpnService: Remember and maintain the primary configSamuel Holland1-1/+36
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-16Config: Rename function to make databinding happySamuel Holland1-4/+4
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-16VpnService: Tweaks for ConfigUpdater to fix addingSamuel Holland1-4/+9
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-13Major renaming and refactoring in activity and serviceSamuel Holland1-0/+339
Apparently "configuration" is the proper term, not "profile". Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>