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

simplify the "load a url for the message body" signature

This commit is contained in:
Jesse Vincent 2011-02-11 12:09:47 -05:00
parent 111b9a6305
commit 06baf3f602
2 changed files with 4 additions and 4 deletions

View File

@ -1108,7 +1108,7 @@ public class MessageView extends K9Activity implements OnClickListener {
} else {
mHandler.post(new Runnable() {
public void run() {
mMessageView.loadBodyFromUrl(mMessage, "file:///android_asset/empty.html");
mMessageView.loadBodyFromUrl("file:///android_asset/empty.html");
}
});
}
@ -1134,7 +1134,7 @@ public class MessageView extends K9Activity implements OnClickListener {
new Runnable() {
public void run() {
if (!message.isSet(Flag.X_DOWNLOADED_FULL) && !message.isSet(Flag.X_DOWNLOADED_PARTIAL)) {
mMessageView.loadBodyFromUrl(mMessage, "file:///android_asset/downloading.html");
mMessageView.loadBodyFromUrl("file:///android_asset/downloading.html");
}
mMessageView.setHeaders(message, account);
}
@ -1171,7 +1171,7 @@ public class MessageView extends K9Activity implements OnClickListener {
}
if ((MessageView.this.mMessage == null) ||
!MessageView.this.mMessage.isSet(Flag.X_DOWNLOADED_PARTIAL)) {
mMessageView.loadBodyFromUrl(mMessage, "file:///android_asset/empty.html");
mMessageView.loadBodyFromUrl("file:///android_asset/empty.html");
}
}
});

View File

@ -117,7 +117,7 @@ public class SingleMessageView extends LinearLayout {
}
public void loadBodyFromUrl(Message message, String url) {
public void loadBodyFromUrl(String url) {
mMessageContentView.loadUrl(url);
// TODO reenable: updateCryptoLayout(cryptoProvider, pgpData, message);