aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/main/java/com/wireguard/android/activity (follow)
Commit message (Collapse)AuthorAgeFilesLines
* LogViewerActivity: only scroll every quarter for the first 2.5 seconds of dumpingJason A. Donenfeld2020-03-281-4/+17
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: Remove unnecessary non-null assertion in TAG fieldsHarsh Shandilya2020-03-281-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: use kotlin class instead of java class for tagJason A. Donenfeld2020-03-281-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: Replace ErrorMessages getter with indexing operatorHarsh Shandilya2020-03-272-2/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ObservableTunnel: port to kotlinJason A. Donenfeld2020-03-261-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* LogViewerActivity: merge lines that don't match regexJason A. Donenfeld2020-03-261-3/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* LogViewerActivity: re-add error case to log exportJason A. Donenfeld2020-03-261-6/+15
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* LogViewerActivity: constify requestJason A. Donenfeld2020-03-261-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: cleanup various pieces of kotlinJason A. Donenfeld2020-03-261-0/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Introduce realtime log viewerHarsh Shandilya2020-03-262-0/+329
| | | | | | | | | This contains a share button and a save button, the former using a custom content provider. Co-authored-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelManager: disallow remote apps for LJason A. Donenfeld2020-03-241-0/+4
| | | | | | I don't trust old Android versions to have gotten this right. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Preferences: hide advanced settingsJason A. Donenfeld2020-03-221-1/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* SettingsActivity: remove from parent instead of fixed screenJason A. Donenfeld2020-03-221-6/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Replace PermissionRequestCallback with direct methodsHarsh Shandilya2020-03-201-8/+4
| | | | | | These are much cleaner in Kotlin code. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Convert activity package to KotlinHarsh Shandilya2020-03-2012-520/+433
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: Codestyle cleanupsHarsh Shandilya2020-03-102-9/+8
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* KernelModuleDisabler: allow disabling the kernel module backendJason A. Donenfeld2020-03-091-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: optimize importsJason A. Donenfeld2020-03-096-39/+34
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: get rid of nonnull gradle hackJason A. Donenfeld2020-03-096-0/+18
| | | | | | | | | | Hacking things up via gradle is not right, and package-info.java poses problems with two modules, so instead we just apply it manually to every class. Remember to add this to new classes! Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ThemeChangeAwareActivity: recreate activity after changing themeJason A. Donenfeld2020-03-091-0/+1
| | | | | | API 21 had issues without this. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* WgQuickBackend: by default use single-tunnel mode like GoBackend, but add optionJason A. Donenfeld2020-03-091-1/+2
| | | | | | | | | Note that this currently doesn't play well with people activating wg-quick tunnels from outside the app. Those tunnels won't be deactivated. But presumably that's desired behavior anyway, considering people are mucking around at the command line. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Rename app module to uiHarsh Shandilya2020-03-096-0/+504
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>