aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/java/com/wireguard/android/preference/ZipExporterPreference.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Migrate to AndroidXHarsh Shandilya2018-12-181-3/+3
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Clean up error messagesSamuel Holland2018-12-151-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Fix locale usageJason A. Donenfeld2018-12-111-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Localize exception messagesZachary Wander2018-12-111-2/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Export actual configuration for zipsJason A. Donenfeld2018-12-101-1/+1
| | | | | Reported-by: John Greenwood <ijohnyyh@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: update copyright headersJason A. Donenfeld2018-09-061-2/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MonkeyedSnackbar: removeJason A. Donenfeld2018-08-261-2/+1
| | | | | | This didn't actually help with much and caused problems. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MonkeyedSnackbar: work around Harsh's broken phoneJason A. Donenfeld2018-07-291-1/+2
| | | | | | | | 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? Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelDetailFragment now restores state correctly after process deathEric Kuck2018-07-261-1/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: Add nullity annotationsEric Kuck2018-07-131-2/+3
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* global: move to Apache 2.0Jason A. Donenfeld2018-07-061-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* android: Consolidate getPrefActivity into FragmentUtilsHarsh Shandilya2018-06-231-14/+3
| | | | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> [Samuel: Changed static to non-static import] Signed-off-by: Samuel Holland <samuel@sholland.org>
* Give Samuel heart attack by removing DaggerJason A. Donenfeld2018-06-071-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* android: Cleanup classesHarsh Shandilya2018-06-021-2/+1
| | | | | | | - Use final modifer wherever possible - Use try-with-resources for input/output streams Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ExporterPreferences: disable control immediatelyJason A. Donenfeld2018-06-021-2/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Preferences: add log exporterJason A. Donenfeld2018-06-021-14/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ExceptionLoggers: never have a null messageJason A. Donenfeld2018-05-161-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: fix up copyrightsJason A. Donenfeld2018-05-031-0/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: Add or update copyright headers in Java codeSamuel Holland2018-05-021-0/+5
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* global: Some more lint cleanupHarsh Shandilya2018-05-021-27/+24
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ZipExporterPreference: account for directory already existingJason A. Donenfeld2018-04-301-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* 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
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* 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 <me@msfjarvis.dev>
* 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 <me@msfjarvis.dev>
* Prefer AppCompat classesHarsh Shandilya2018-04-301-13/+14
| | | | | | | | | | 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 <me@msfjarvis.dev>
* Allow exporting to zip fileJason A. Donenfeld2018-04-291-0/+123
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>