set list adapter to null when appropriate

set list adapter to null when (recipients or threadId == null) to
prevent old messages from being displayed when forwarding a
message to a recipient for which there is no existing
 conversation.

Fixes #2883
Closes #2884

// FREEBIE
This commit is contained in:
Rhodey Orbits 2015-04-03 14:54:47 -07:00 committed by Moxie Marlinspike
parent b77afa8903
commit efb4f388a5

View File

@ -103,6 +103,10 @@ public class ConversationFragment extends ListFragment
initializeResources();
initializeListAdapter();
if (threadId == -1) {
getLoaderManager().restartLoader(0, null, this);
}
}
private void initializeResources() {