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

Putting the switch from loading... to downloading.. to the UI thread for this to happen more reliably

This commit is contained in:
Bao-Long Nguyen-Trong 2009-10-07 17:23:34 +00:00
parent 82491ab42b
commit 791d99fc7a

View File

@ -1111,7 +1111,11 @@ public class MessageView extends K9Activity
MessageView.this.mMessage = message;
if (!message.isSet(Flag.X_DOWNLOADED_FULL)) {
mMessageContentView.loadUrl("file:///android_asset/downloading.html");
mHandler.post(new Runnable() {
public void run() {
mMessageContentView.loadUrl("file:///android_asset/downloading.html");
}
});
}
try {
setHeaders(account, folder, uid, message);