aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/vici/python
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2016-05-06 12:41:33 +0200
committerTobias Brunner <tobias@strongswan.org>2016-05-06 12:51:49 +0200
commit1130dbc408da340dc90ba0dcb72bf0821167ba09 (patch)
tree94099366bc49b12b70685f7f866347dda2f9517a /src/libcharon/plugins/vici/python
parentb9522f9d64371c9b620f398852e4ade857105974 (diff)
downloadstrongswan-1130dbc408da340dc90ba0dcb72bf0821167ba09.tar.bz2
strongswan-1130dbc408da340dc90ba0dcb72bf0821167ba09.tar.xz
android: Avoid IllegalStateException when importing certificates
When certificates are imported via Storage Access Framework we did handle the selection directly in onActivityResult(). However, at that point the activity might apparently not yet be resumed. So committing FragmentTransactions could result in IllegalStateExceptions due to the potential state loss. To avoid that we cache the returned URI and wait until onPostResume() to make sure the activity's state is fully restored before showing the confirmation dialog.
Diffstat (limited to 'src/libcharon/plugins/vici/python')
0 files changed, 0 insertions, 0 deletions