aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/sqlite/sqlite_database.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-05-15 18:35:00 +0200
committerTobias Brunner <tobias@strongswan.org>2013-07-08 18:49:28 +0200
commit5e7a4193e57e042658a9f519811740fd2ce21be9 (patch)
tree52b2cc896028e561a50d4a4b4eadd6105d2cf1d2 /src/libstrongswan/plugins/sqlite/sqlite_database.c
parentdc52cfab73298272a68eaef3f85b571536ad8a06 (diff)
downloadstrongswan-5e7a4193e57e042658a9f519811740fd2ce21be9.tar.bz2
strongswan-5e7a4193e57e042658a9f519811740fd2ce21be9.tar.xz
android: Clear error only when the user explicitly dismisses the dialog
The previous code worked fine on rotation changes as the fragment is destroyed and recreated causing onCreate to be called, which restores the saved error state. But if the user switches to a different application and then back this is not the case. The dialog still gets dismissed (as we have to do so to avoid nasty exceptions on rotation changes) but since that implicitly cleared the error state the UI was never fully restored.
Diffstat (limited to 'src/libstrongswan/plugins/sqlite/sqlite_database.c')
0 files changed, 0 insertions, 0 deletions