aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/main/java/com/wireguard/android/preference (follow)
Commit message (Collapse)AuthorAgeFilesLines
* global: hardcode tags so that minification doesn't ruin the logJason A. Donenfeld2020-03-281-1/+1
| | | | 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>
* databinding: simplify and address warningsJason A. Donenfeld2020-03-271-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>
* ui: root: rewrite in kotlinJason A. Donenfeld2020-03-261-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Introduce realtime log viewerHarsh Shandilya2020-03-261-101/+0
| | | | | | | | | 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>
* LogExporterPreference: Don't ask for storage permissions on Android 10 and aboveHarsh Shandilya2020-03-251-6/+12
| | | | | | We use the proper MediaStore implementation on Android 10 which makes it unnecessary. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Replace PermissionRequestCallback with direct methodsHarsh Shandilya2020-03-202-23/+12
| | | | | | These are much cleaner in Kotlin code. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Convert activity package to KotlinHarsh Shandilya2020-03-202-12/+22
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* preferences: rewrite in kotlinJason A. Donenfeld2020-03-1912-600/+452
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* preference: restart application immediatelyJason A. Donenfeld2020-03-172-19/+14
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ModuleDownloaderPreference: remove disable_kernel_module after downloadingJason A. Donenfeld2020-03-102-5/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: Codestyle cleanupsHarsh Shandilya2020-03-102-6/+6
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* KernelModuleDisablerPreference: turn off tunnels before switching backendJason A. Donenfeld2020-03-091-10/+25
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* KernelModuleDisabler: allow disabling the kernel module backendJason A. Donenfeld2020-03-091-0/+84
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* VersionPreference: reverse go and wgquick titlesJason A. Donenfeld2020-03-091-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: format codeJason A. Donenfeld2020-03-092-10/+9
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: optimize importsJason A. Donenfeld2020-03-095-21/+18
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: get rid of nonnull gradle hackJason A. Donenfeld2020-03-095-0/+15
| | | | | | | | | | 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>
* ModuleLoader: move to right projectJason A. Donenfeld2020-03-091-2/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Rename app module to uiHarsh Shandilya2020-03-095-0/+496
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>