aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/java/com/wireguard/android/preference (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Migrate to AndroidXHarsh Shandilya2018-12-184-10/+10
| | | | Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
* Clean up error messagesSamuel Holland2018-12-152-6/+6
|
* Fix locale usageJason A. Donenfeld2018-12-112-3/+3
|
* Localize exception messagesZachary Wander2018-12-113-6/+9
|
* Export actual configuration for zipsJason A. Donenfeld2018-12-101-1/+1
| | | | Reported-by: John Greenwood <ijohnyyh@gmail.com>
* Use English lower casingJason A. Donenfeld2018-12-091-2/+4
| | | | | In Turkish, I becomes ı instead of i, which is a problem when matching things like "AllowedIPs".
* Remodel the ModelSamuel Holland2018-12-081-1/+2
| | | | | | | | | | | | - The configuration and crypto model is now entirely independent of Android classes other than Nullable and TextUtils. - Model classes are immutable and use builders that enforce the appropriate optional/required attributes. - The Android config proxies (for Parcelable and databinding) are moved to the Android side of the codebase, and are designed to be safe for two-way databinding. This allows proper observability in TunnelDetailFragment. - Various robustness fixes and documentation updates to helper classes.
* Auto-format the source directoriesSamuel Holland2018-11-111-1/+2
| | | | Blame Jason for writing Java in vim.
* global: update copyright headersJason A. Donenfeld2018-09-064-7/+4
|
* MonkeyedSnackbar: removeJason A. Donenfeld2018-08-262-4/+2
| | | | This didn't actually help with much and caused problems.
* MonkeyedSnackbar: work around Harsh's broken phoneJason A. Donenfeld2018-07-292-2/+4
| | | | | | I think I'd probably like to revert this, since presumably there's a good reason in the first place why the support lib disables animations when accessibility services are turned on?
* TunnelDetailFragment now restores state correctly after process deathEric Kuck2018-07-261-1/+4
|
* Application: use proper completablefuture for backendJason A. Donenfeld2018-07-261-1/+1
|
* global: Add nullity annotationsEric Kuck2018-07-134-10/+13
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* global: move to Apache 2.0Jason A. Donenfeld2018-07-064-4/+4
|
* android: VersionPreference: Handle no-browser-installed caseHarsh Shandilya2018-06-301-1/+4
| | | | Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* android: Consolidate getPrefActivity into FragmentUtilsHarsh Shandilya2018-06-232-28/+6
| | | | | | Signed-off-by: Harsh Shandilya <harsh@prjkt.io> [Samuel: Changed static to non-static import] Signed-off-by: Samuel Holland <samuel@sholland.org>
* treewide: Optimize importsHarsh Shandilya2018-06-232-8/+0
| | | | Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* global: supply backend asynchronouslyJason A. Donenfeld2018-06-141-7/+8
| | | | | We can't block for IO, so move everything to async workers or to callbacks.
* ToolsInstaller: safer state machineJason A. Donenfeld2018-06-101-25/+22
|
* Backend: abstract version informationJason A. Donenfeld2018-06-071-17/+9
|
* Give Samuel heart attack by removing DaggerJason A. Donenfeld2018-06-074-26/+12
|
* VersionPreference: account for checking state and move away from tools installerJason A. Donenfeld2018-06-071-2/+17
|
* ToolsInstallerPreference: do not check for magisk on main threadJason A. Donenfeld2018-06-061-5/+5
|
* ToolsInstaller: allow installing as Magisk moduleJason A. Donenfeld2018-06-051-7/+21
|
* LogExporterPreference: get all past processesJason A. Donenfeld2018-06-041-1/+1
|
* android: Cleanup classesHarsh Shandilya2018-06-023-7/+6
| | | | | | | - Use final modifer wherever possible - Use try-with-resources for input/output streams Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* ExporterPreferences: disable control immediatelyJason A. Donenfeld2018-06-022-4/+8
|
* Preferences: add log exporterJason A. Donenfeld2018-06-022-14/+128
|
* Settings: add versionJason A. Donenfeld2018-06-011-0/+56
|
* ExceptionLoggers: never have a null messageJason A. Donenfeld2018-05-161-1/+1
|
* global: fix up copyrightsJason A. Donenfeld2018-05-032-0/+2
|
* global: Add or update copyright headers in Java codeSamuel Holland2018-05-022-0/+10
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* global: Some more lint cleanupHarsh Shandilya2018-05-021-27/+24
| | | | Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* ZipExporterPreference: account for directory already existingJason A. Donenfeld2018-04-301-1/+1
|
* global: Clean up JavaSamuel Holland2018-04-301-17/+19
| | | | | | Address Java and Android lints. Signed-off-by: Samuel Holland <samuel@sholland.org>
* global: Automatic code formattingSamuel Holland2018-04-301-16/+15
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* ZipExporterPreference: requireNonNull is redundantJason A. Donenfeld2018-04-301-2/+2
|
* ZipExporterPreference: Correctly get preference activityHarsh Shandilya2018-04-301-2/+14
| | | | | | | | In AppCompat based preferences, this#getContext returns an object of android.view.ContextThemeWrapper class from where we can safely extract a reference to our parent activity. Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* wg: Break out crossport dependencyHarsh Shandilya2018-04-301-1/+1
| | | | | | | Replace all crossport uses with upstream design support library components. Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* Prefer AppCompat classesHarsh Shandilya2018-04-302-22/+18
| | | | | | | | | | 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/+123
|
* Quick cleanup across the boardHarsh Shandilya2018-04-281-4/+0
| | | | | | | | | | - Clean up imports - Adjust method visibility - Drop in NonNull annotations where needed - Prevent potential NPEs from nulled getActivity calls - Remove unused methods Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* ToolsInstaller: Propagate NoRootException properlySamuel Holland2018-01-091-14/+20
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* ToolsInstallerPreference: Examine current state on loadSamuel Holland2018-01-081-0/+7
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* global: Fix or suppress most lints/warningsSamuel Holland2018-01-081-1/+3
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* ToolsInstaller: Extract to its own classesSamuel Holland2018-01-081-0/+91
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* Remove primary configuration preferenceSamuel Holland2018-01-071-45/+0
| | | | | | It is no longer used. Signed-off-by: Samuel Holland <samuel@sholland.org>
* Convert the list of tunnels to a KeyedObservableListSamuel Holland2018-01-061-4/+8
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* Serviceless rewrite, part 1Samuel Holland2018-01-061-0/+41
Signed-off-by: Samuel Holland <samuel@sholland.org>