1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

Enable the new synchronous messagelist population. Perhaps

counter-intuitive, but it's a whole lot faster
This commit is contained in:
Jesse Vincent 2009-12-18 02:39:41 +00:00
parent 25306fad83
commit f94823cba4

View File

@ -448,7 +448,7 @@ public class MessageList
controller.addListener(mAdapter.mListener);
mAdapter.messages.clear();
mAdapter.notifyDataSetChanged();
controller.listLocalMessages(mAccount, mFolderName, mAdapter.mListener);
controller.listLocalMessagesSynchronous(mAccount, mFolderName, mAdapter.mListener);
NotificationManager notifMgr = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
notifMgr.cancel(mAccount.getAccountNumber());