aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/java/com/wireguard/android/activity/SettingsActivity.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* DarkMode: move to shared preferences listenerJason A. Donenfeld2018-06-051-42/+2
|
* BaseActivity: invalidate icon cache on Android PJason A. Donenfeld2018-06-041-1/+2
|
* android: Cleanup classesHarsh Shandilya2018-06-021-2/+2
| | | | | | | - Use final modifer wherever possible - Use try-with-resources for input/output streams Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* theme: add dark theme with toggleJason A. Donenfeld2018-06-011-2/+43
|
* Support always-on-vpnJason A. Donenfeld2018-05-271-3/+4
|
* global: Cleanup line lengths and misc lint warningsHarsh Shandilya2018-05-091-3/+8
| | | | | | | | | I know we decided to ditch the idea of shutting up "Exception thrown with empty param" warnings but this pesters me too much and we can instead just treat this as a weird future proofing thing if and when we end up needing the exception messages. Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* global: fix up copyrightsJason A. Donenfeld2018-05-031-0/+1
|
* global: Add or update copyright headers in Java codeSamuel Holland2018-05-021-0/+5
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* global: Clean up JavaSamuel Holland2018-04-301-9/+9
| | | | | | 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>
* SettingsActivity: Migrate permissions check to AppCompatHarsh Shandilya2018-04-301-20/+11
| | | | | | Pretty straightforward, I was clearly overthinking this. Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* 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 <harsh@prjkt.io>
* Prefer AppCompat classesHarsh Shandilya2018-04-301-10/+10
| | | | | | | | | | 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 <harsh@prjkt.io>
* Allow exporting to zip fileJason A. Donenfeld2018-04-291-0/+50
|
* GoBackend: integrate into appJason A. Donenfeld2018-02-171-0/+8
|
* ToolsInstaller: Extract to its own classesSamuel Holland2018-01-081-72/+0
| | | | 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>
* Serviceless rewrite, part 1Samuel Holland2018-01-061-0/+111
Signed-off-by: Samuel Holland <samuel@sholland.org>