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:
parent
2e6a67c2a7
commit
a724df79d4
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user