am ab4fe154: am 2d34c669: MessageView: scroll webview to (0,0) on message change.

Merge commit 'ab4fe154764f9a22d8cb5d9c16bc4b211719d714'

* commit 'ab4fe154764f9a22d8cb5d9c16bc4b211719d714':
  MessageView: scroll webview to (0,0) on message change.
This commit is contained in:
Mihai Preda 2009-10-01 15:12:06 -07:00 committed by Android Git Automerger
commit 4a50ac397a

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();