]> git.ipfire.org Git - thirdparty/strongswan.git/commit
android: Handle restarts of control activity with power whitelist dialog better
authorTobias Brunner <tobias@strongswan.org>
Mon, 19 Oct 2020 14:46:22 +0000 (16:46 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 29 Oct 2020 09:22:52 +0000 (10:22 +0100)
commit264435f626b0eee97587cad455770d427ccb4836
treeddcd826fa4e0514917f3213e77041a989572abc2
parent21476a8d91c3bbb3f824921e0910b6ae118f88cd
android: Handle restarts of control activity with power whitelist dialog better

With the flag set, we basically ignore the resent intent, which is not
ideal if we have not yet actually started another activity.  The information
dialog we show first would disappear when closing and reopening the app
or even just rotating it (we hide all dialogs when receiving an intent),
but since the flag was restored, the dialog was not shown again even
when attempting to start other connections.
src/frontends/android/app/src/main/java/org/strongswan/android/ui/VpnProfileControlActivity.java