aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/java/com/wireguard/android/VpnService.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* VpnService: Move it to a backends packageSamuel Holland2017-11-241-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>
* VpnService: Add helper for importing configsSamuel Holland2017-11-081-0/+50
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Bindings: Move to a separate packageSamuel Holland2017-11-071-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>
* Centralize/unify validation of configurationsSamuel Holland2017-08-241-1/+9
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* VpnService: Fix some edge cases in ConfigUpdaterSamuel Holland2017-08-231-18/+19
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* QuickTileService: Implement and update from VpnServiceSamuel Holland2017-08-171-0/+19
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* VpnService: Use a string to remember the primary configSamuel Holland2017-08-171-23/+29
| | | | | | This allows simplifies the code a bit. Also, a few other minor changes. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* VpnService: Remove extraneous call to super()Samuel Holland2017-08-171-1/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Convert to using the ObservableTreeMap and its adapterSamuel Holland2017-08-171-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* VpnService: Remember and optionally restore enabled configsSamuel Holland2017-08-161-0/+20
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* VpnService: Remember and maintain the primary configSamuel Holland2017-08-161-1/+36
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Config: Rename function to make databinding happySamuel Holland2017-08-161-4/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* VpnService: Tweaks for ConfigUpdater to fix addingSamuel Holland2017-08-161-4/+9
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Major renaming and refactoring in activity and serviceSamuel Holland2017-08-131-0/+339
Apparently "configuration" is the proper term, not "profile". Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>