android: Close activity when dialog is canceled if it was not visible before
authorTobias Brunner <tobias@strongswan.org>
Fri, 30 Jun 2017 07:46:56 +0000 (09:46 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 3 Jul 2017 08:39:26 +0000 (10:39 +0200)
commit6333a756eee462a4ae071b24fe3af218493cf9c5
treeac060f5c0d59d533d2654bbc1e05b86f14bf1bfb
parent1265b353d4634892c9c97da19f2f197466891ba6
android: Close activity when dialog is canceled if it was not visible before

onPause/onResume() won't work because onPause() is called right before
onNewIntent().
src/frontends/android/app/src/main/java/org/strongswan/android/ui/MainActivity.java