From 2d34c669c10ec5aec70ec53fe7582feba8166394 Mon Sep 17 00:00:00 2001 From: Mihai Preda Date: Thu, 1 Oct 2009 13:17:53 +0200 Subject: [PATCH] MessageView: scroll webview to (0,0) on message change. Bug 2156934. --- src/com/android/email/activity/MessageView.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/android/email/activity/MessageView.java b/src/com/android/email/activity/MessageView.java index aa92213ac..2a86fcd5e 100644 --- a/src/com/android/email/activity/MessageView.java +++ b/src/com/android/email/activity/MessageView.java @@ -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();