summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2020-03-09ErrorMessages: do not use R from backendJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-09ErrorMessages: do not traverse down into remote exceptionsJason A. Donenfeld
Otherwise we miss the actual error message. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-09backend: do not depend on anything except configJason A. Donenfeld
This is likely broken but should make for a good starting point. It also should hopefully handle stopping tunnels before starting new ones, in the case of the GoBackend. Again, untested. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-08Upgrade AGP and KotlinHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-08Add Hindi translationShashank Baghel
Signed-off-by: Shashank Baghel <theradcolor@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-28MainActivity: Remove unused importsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-28ModuleLoader: Staticize isModuleLoadedHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-28Upgrade to build tools 29.0.3Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-26Resolve some lint and build warningsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-25Add Simplified Chinese translationLilligantMatsuri
Signed-off-by: LilligantMatsuri <srb12345@vip.qq.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-02-25remove <item quantity=one> tag due to no plural form in Japanese.Eiji Tanioka
Signed-off-by: Eiji Tanioka <tanioka404@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-02-25ThemeChangeAwareActivity: Remove drawable cache busterHarsh Shandilya
Shouldn't be needed anymore. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-25Make exclusions dialog fit more items in viewportHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-25MainActivity: Fix backstack bug exposed by fragment 1.2.2Harsh Shandilya
We've been relying on implicit backstack changes to handle removing the detail fragment for a while which is now gone so let's do this properly like we should Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-25Resolve deprecation warningsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-25Cleanup inset dispatch codeHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-25Replace FrameLayouts with recommended FragmentContainerViewHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-25Add fragment dependencyHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-25Ensure insets are dispatched to all fragmentsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-25Setup EdgeToEdgeHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-25Add EdgeToEdge and coreKtx dependencyHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-25Target JVM 1.8 from Kotlin as wellHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-25Upgrade AGP and GradleHarsh Shandilya
If anybody has a problem with missing or mismatched NDK, run this command to install the right version $ANDROID_SDK_ROOT/tools/bin/sdkmanager 'ndk;20.0.5594570' Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-23Resolve format string warningsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-23AppListDialogFragment: Revamp toggle logicHarsh Shandilya
Rather than always toggle all elements, elect to unselect all if any are selected. This allows returning to a clean state in at most two clicks. Suggested-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-23AppListDialogFragment: Code cleanupHarsh Shandilya
- Using the require_() methods provides helpful error messages when things are null compared to the get_() methods which throw NPEs. - Ensure currentlyExcludedApps is empty but never null - Rename inner variable to silence name shadowing lint - Make setExclusionsAndDismiss private Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-23Japanese translation: change "Deselect All" to "Toggle All"Eiji Tanioka
Fixes: 1eb4ce7 ("AppListDialogFragment: change "Deselect All" to "Toggle All"") Signed-off-by: Eiji Tanioka <tanioka404@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-02-23AppListDialogFragment: change "Deselect All" to "Toggle All"Sébastien LEBEAU
Change functionality in excluded apps dialog for better user experience when user wants only one or few apps to use WireGuard. Signed-off-by: Sébastien LEBEAU <sebcbi1@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-16SharedLibraryLoader: Fix leaked Closeable warningHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-16Record StrictMode failures to logcatHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-15Add japanese translation.Eiji Tanioka
Signed-off-by: Eiji Tanioka <tanioka404@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-02-14Port tunnel creation UI from ViscerionHarsh Shandilya
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-02-12Implement custom theming to match Google's AOSP designHarsh Shandilya
Closes: #4 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-10Attribute: remove need for android TextUtilsJason A. Donenfeld
If this is to be JRE-only, then it doesn't make sense to rely on the android class, especially since this is so trivial to inline. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-02-10InetAddresses: don't have global android importJason A. Donenfeld
This allows a proper fallback on normal JRE. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-02-09Update Russian translationAlexey
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-02-06version: bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-02-06wg: bump to latest snapshotJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-02-06Add Russian translationAlexey
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-02-03wg-go: bump go requirementJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-02-03wg: remove mnl dependency and bump depJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-01-24version: bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-01-24GoBackend: restrict APIs to proper versionJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-01-24Upgrade to Gradle 6.1Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-01-24GoBackend: Ensure we're unmetered on API 29 as wellHarsh Shandilya
VPN apps targetting Android 10 are treated as metered by default. Source: https://developer.android.com/reference/android/net/VpnService.Builder.html#setMetered(boolean) Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-01-23version: bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-01-23Rework timer in tunnel detailJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-01-23Match lowercase asus phones for fab hackJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-01-23manifest: reorderJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-01-23tools: update depsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>