MessageView: scroll webview to (0,0) on message change.

Bug 2156934.
This commit is contained in:
Mihai Preda 2009-10-01 13:17:53 +02:00
parent f9ccc0ba88
commit 2d34c669c1

View File

@ -767,6 +767,7 @@ public class MessageView extends Activity implements OnClickListener {
cancelAllTasks();
setTitle("");
if (mMessageContentView != null) {
mMessageContentView.scrollTo(0, 0);
mMessageContentView.loadUrl("file:///android_asset/empty.html");
}
mAttachments.removeAllViews();