aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/java/com/wireguard/android/activity (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* global: Clean up JavaSamuel Holland2018-04-303-11/+11
| | | | | | Address Java and Android lints. Signed-off-by: Samuel Holland <samuel@sholland.org>
* global: Automatic code formattingSamuel Holland2018-04-301-14/+14
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* wg: Collapse fab when pressing back before exitingHarsh Shandilya2018-04-301-2/+11
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* SettingsActivity: Migrate permissions check to AppCompatHarsh Shandilya2018-04-301-20/+11
| | | | | | Pretty straightforward, I was clearly overthinking this. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* SettingsActivity: Gracefully exit when options menu home is pressedHarsh Shandilya2018-04-301-0/+12
| | | | | | | | | | | | | | | | | | | | This is an activity, so it does not join the fragment backstack, but instead piles on top SettingsActivity | -> MainActivity | -> EditorFragment | -> DetailFragment | -> ListFragment Without overriding the back button in the toolbar, it simply kills the entire state on MainActivity and causes it to reload. By calling finish() on the activity when home is pressed from the item menu we can silently make it die without affecting any underlying states held by MainActivity and instead return to the exact fragment we launched settings from. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Prefer AppCompat classesHarsh Shandilya2018-04-304-21/+23
| | | | | | | | | | AppCompat is the preferred way to go for any app targetting a wider range of SDKs. Replace all activities and fragments with their AppCompat variants and fixup method calls to use support variants. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Allow exporting to zip fileJason A. Donenfeld2018-04-291-0/+50
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* GoBackend: Use the android VpnService to encapsulate the go backendAurélien Chabot2018-04-171-0/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* GoBackend: integrate into appJason A. Donenfeld2018-02-171-0/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: Fix or suppress most lints/warningsSamuel Holland2018-01-081-1/+2
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* global: Prefix tags with WireGuard/Jason A. Donenfeld2018-01-081-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* project: Global cleanupSamuel Holland2018-01-082-4/+4
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* ToolsInstaller: Extract to its own classesSamuel Holland2018-01-081-72/+0
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* BaseActivity: Make variable names consistentSamuel Holland2018-01-071-2/+2
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* Remove primary configuration preferenceSamuel Holland2018-01-071-9/+1
| | | | | | It is no longer used. Signed-off-by: Samuel Holland <samuel@sholland.org>
* Move bundle keys where they are usedSamuel Holland2018-01-071-3/+5
| | | | | | This both clarifies and simplifies the code. Signed-off-by: Samuel Holland <samuel@sholland.org>
* project: Minor cleanupsSamuel Holland2018-01-061-2/+0
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* MainActivity: Fix ActionBar after rotationSamuel Holland2018-01-061-7/+8
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* activity: Remove useless indirectionSamuel Holland2018-01-063-10/+6
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* Serviceless rewrite, part 1Samuel Holland2018-01-064-0/+379
Signed-off-by: Samuel Holland <samuel@sholland.org>