wireguard-android/ui/src/main/java/com/wireguard/android
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
..
activity ui: print proper exception trace from log viewer 2020-09-26 12:01:58 +02:00
configStore global: hardcode tags so that minification doesn't ruin the log 2020-03-28 23:21:12 -06:00
databinding gradle: desugar retrofuture and remove old deps 2020-09-15 12:30:15 +02:00
fragment ui: queue up tunnel mutating on activity scope instead of fragment scope 2020-09-26 13:49:14 +02:00
model TunnelManager: catch exception in intent receiver 2020-09-21 10:54:07 +02:00
preference ui: queue up tunnel mutating on activity scope instead of fragment scope 2020-09-26 13:49:14 +02:00
util ui: queue up tunnel mutating on activity scope instead of fragment scope 2020-09-26 13:49:14 +02:00
viewmodel AppListDialogFragment: support both inclusion and exclusion 2020-04-06 02:40:49 -06:00
widget ui: retire EdgeToEdge 2020-09-17 23:09:05 +05:30
Application.kt ui: move to Jetpack DataStore instead of SharedPrefs 2020-09-18 20:29:23 +02:00
BootShutdownReceiver.kt ui: replace GlobalScope with a hand-rolled CoroutineScope 2020-09-16 18:01:06 +02:00
QuickTileService.kt ui: replace GlobalScope with a hand-rolled CoroutineScope 2020-09-16 18:01:06 +02:00