wireguard-android/ui
Jason A. Donenfeld 938399d881 ui: queue up tunnel mutating on activity scope instead of fragment scope
Fragment scopes get cancelled when the fragment goes away, but we don't
actually want to cancel an in-flight transition in that case. Also,
before when the fragment would cancel, there'd be an exception, and the
exception handler would call Fragment::getString, which in turn called
requireContext, which caused an exception. Work around this by using the
`activity ?: Application.get()` idiom to always have a context for
strings and toasts.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-09-26 13:49:14 +02:00
..
sampledata Rename app module to ui 2020-03-09 19:24:27 +05:30
src ui: queue up tunnel mutating on activity scope instead of fragment scope 2020-09-26 13:49:14 +02:00
build.gradle ui: move to Jetpack DataStore instead of SharedPrefs 2020-09-18 20:29:23 +02:00
proguard-android-optimize.txt build: Improve R8 rules and enable aggressive optimization modes 2020-03-29 10:52:54 +05:30
proguard-rules.pro build: don't obfuscate code in minify step 2020-04-21 21:36:59 +05:30