aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikita Mikhailov <nikita.s.mikhailov@gmail.com>2016-05-01 22:16:52 +0600
committerNikita Mikhailov <nikita.s.mikhailov@gmail.com>2016-05-01 22:16:52 +0600
commit0faab067c6effdb49fc9e3567b20837df16cd4e1 (patch)
tree5f0d682c1adf5453c630e910fdad46f2cacc4855
parentb97971a29c6a2a80d86ff068ca8f4109d8027646 (diff)
downloadopen-keychain-0faab067c6effdb49fc9e3567b20837df16cd4e1.tar.gz
open-keychain-0faab067c6effdb49fc9e3567b20837df16cd4e1.tar.bz2
open-keychain-0faab067c6effdb49fc9e3567b20837df16cd4e1.zip
Fix rotation crash in CreateSecurityTokenWaitFragment
-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();