From bc8f26c5914085d28c287abec90945450bde213e Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Tue, 31 Jul 2012 16:27:58 -0700 Subject: [PATCH] Correctly initialize conversation after message sent. --- res/layout/conversation_activity.xml | 36 +------------------ .../securesms/ConversationActivity.java | 7 ++-- .../securesms/ConversationFragment.java | 19 +++++----- 3 files changed, 17 insertions(+), 45 deletions(-) diff --git a/res/layout/conversation_activity.xml b/res/layout/conversation_activity.xml index 077375d7b..90bac9e45 100644 --- a/res/layout/conversation_activity.xml +++ b/res/layout/conversation_activity.xml @@ -1,22 +1,5 @@ - + - - - - - - - - - - - - - - - - - onCreateLoader(int arg0, Bundle arg1) { - if (this.threadId != -1) { - return new ConversationLoader(getActivity(), threadId); - } else { - return null; - } + return new ConversationLoader(getActivity(), threadId); } @Override