Okay. In `ConversationListAdapter.selectAllThreads`, the threads are collected like this:

        Cursor cursor = DatabaseFactory.getThreadDatabase(context).getConversationList();

But I couldn't find a similar way to collect all the messages in a thread.