aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/java/com/wireguard/android/ConfigActivity.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Serviceless rewrite, part 1Samuel Holland2018-01-061-289/+0
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* ConfigListFragment: Use a floating action menuSamuel Holland2017-11-281-21/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ConfigActivity: Listen for name changesSamuel Holland2017-11-281-2/+24
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* VpnService: Move it to a backends packageSamuel Holland2017-11-241-0/+1
| | | | | | | | | | 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>
* ConfigActivity: Add import menu itemSamuel Holland2017-11-081-0/+17
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ConfigActivity: Invert isSplitLayout→isSingleLayout for claritySamuel Holland2017-08-241-12/+12
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Remove state debugging messagesSamuel Holland2017-08-241-7/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ConfigActivity: Fix condition for inserting back stack entriesSamuel Holland2017-08-241-1/+2
| | | | | | | Fixes saved editor state on rotation (removing and recreating the editor discarded changes). Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ConfigActivity: Save editor state across fragment instancesSamuel Holland2017-08-241-1/+18
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ConfigActivity: Avoid unnecessary executePendingTransactionsSamuel Holland2017-08-241-3/+1
| | | | | | Nothing later tries to find the list using findFragmentById(). Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ConfigActivity: Log state transitionsSamuel Holland2017-08-231-0/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* BaseConfigActivity: Remember editing stateSamuel Holland2017-08-231-8/+13
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ConfigAddActivity: Rename to AddActivitySamuel Holland2017-08-221-1/+1
| | | | | | Not everything needs to start with Config Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ConfigActivity: Fix fragment state when leaving/entering appSamuel Holland2017-08-211-104/+157
| | | | | | Do this by making the fragment transition functions idempotent. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ConfigListFragment: Restore the non-FAB add menuSamuel Holland2017-08-171-0/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ConfigActivity: Inline PlaceholderFragment into the layoutSamuel Holland2017-08-161-27/+26
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ConfigActivity: Adjust when the back arrow is shownSamuel Holland2017-08-161-9/+9
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ConfigActivity: Fix restoring layout on resumeSamuel Holland2017-08-161-5/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* BaseConfigActivity: Set initial config when service availableSamuel Holland2017-08-151-0/+1
| | | | | | | This was accidentally missed earlier when adding the optimization to omit binding the service when unnecessary. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ConfigActivity: Show the current config in the titleSamuel Holland2017-08-151-0/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* BaseConfigActivity: Move menu handling to ConfigActivitySamuel Holland2017-08-151-0/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ConfigActivity: Show back arrow in single layout action barSamuel Holland2017-08-141-0/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ConfigActivity: Fragments are hard; this un-breaks animationsSamuel Holland2017-08-141-78/+84
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ConfigActivity: Enable animations on fragment transitionsSamuel Holland2017-08-141-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ConfigActivity: Avoid crash when started while lockedSamuel Holland2017-08-141-3/+12
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Major renaming and refactoring in activity and serviceSamuel Holland2017-08-131-0/+158
Apparently "configuration" is the proper term, not "profile". Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>