aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2016-05-01 18:18:55 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2016-05-01 18:18:55 +0200
commit20194107e6dbde378a0cbfbd215b31378dffe266 (patch)
tree5f0d682c1adf5453c630e910fdad46f2cacc4855
parentb97971a29c6a2a80d86ff068ca8f4109d8027646 (diff)
parent0faab067c6effdb49fc9e3567b20837df16cd4e1 (diff)
downloadopen-keychain-20194107e6dbde378a0cbfbd215b31378dffe266.tar.gz
open-keychain-20194107e6dbde378a0cbfbd215b31378dffe266.tar.bz2
open-keychain-20194107e6dbde378a0cbfbd215b31378dffe266.zip
Merge pull request #1850 from nmikhailov/master
Fix rotation crash in CreateSecurityTokenWaitFragment #1849
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateSecurityTokenWaitFragment.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateSecurityTokenWaitFragment.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateSecurityTokenWaitFragment.java
index d5f4cc7af..782502741 100644
--- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateSecurityTokenWaitFragment.java
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateSecurityTokenWaitFragment.java
@@ -38,8 +38,8 @@ public class CreateSecurityTokenWaitFragment extends Fragment {
View mBackButton;
@Override
- public void onCreate(@Nullable final Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
+ public void onActivityCreated(@Nullable final Bundle savedInstanceState) {
+ super.onActivityCreated(savedInstanceState);
if (this.getActivity() instanceof BaseSecurityTokenActivity) {
((BaseSecurityTokenActivity) this.getActivity()).checkDeviceConnection();