1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-24 02:12:15 -05:00

To date, "loadMessageForView" competed for threads in a thread pool with

all of our mail syncing code. This led to very choppy UI experience.

This change doesn't entirely fix message load lag, but the _worst case_
I see is now better than the best case I saw last week.
This commit is contained in:
Jesse Vincent 2010-08-08 23:49:27 +00:00
parent 2e6a67c2a7
commit a724df79d4

View File

@ -3094,7 +3094,7 @@ public class MessagingController implements Runnable
{
l.loadMessageForViewStarted(account, folder, uid);
}
threadPool.execute(new Runnable()
new Thread(new Runnable()
{
public void run()
{
@ -3152,7 +3152,7 @@ public class MessagingController implements Runnable
}
}
});
}).start();
}
/**