diff options
author | Nikita Mikhailov <nikita.s.mikhailov@gmail.com> | 2016-05-01 22:16:52 +0600 |
---|---|---|
committer | Nikita Mikhailov <nikita.s.mikhailov@gmail.com> | 2016-05-01 22:16:52 +0600 |
commit | 0faab067c6effdb49fc9e3567b20837df16cd4e1 (patch) | |
tree | 5f0d682c1adf5453c630e910fdad46f2cacc4855 | |
parent | b97971a29c6a2a80d86ff068ca8f4109d8027646 (diff) | |
download | open-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.java | 4 |
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(); |