initialize security in conversation first

Closes #4108
// FREEBIE
This commit is contained in:
Jake McGinty 2015-09-23 11:44:52 -07:00 committed by Moxie Marlinspike
parent 7520af749c
commit e574bcf15c

View File

@ -214,6 +214,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
initializeActionBar(); initializeActionBar();
initializeViews(); initializeViews();
initializeResources(); initializeResources();
initializeSecurity();
initializeDraft(); initializeDraft();
} }
@ -229,6 +230,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
setIntent(intent); setIntent(intent);
initializeResources(); initializeResources();
initializeSecurity();
initializeDraft(); initializeDraft();
if (fragment != null) { if (fragment != null) {
@ -243,7 +245,6 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
dynamicLanguage.onResume(this); dynamicLanguage.onResume(this);
quickAttachmentDrawer.onResume(); quickAttachmentDrawer.onResume();
initializeSecurity();
initializeEnabledCheck(); initializeEnabledCheck();
initializeMmsEnabledCheck(); initializeMmsEnabledCheck();
composeText.setTransport(sendButton.getSelectedTransport()); composeText.setTransport(sendButton.getSelectedTransport());