commit | 8743cfca851058d50385951b111dd903b1fa6c5a | [log] [tgz] |
---|---|---|
author | mindyp <mindyp@google.com> | Tue Sep 18 13:29:08 2012 -0700 |
committer | mindyp <mindyp@google.com> | Tue Sep 18 13:29:08 2012 -0700 |
tree | e32bb4a90e2eb9f60061efaf2970531b7496b532 | |
parent | 6f009f7f1a3b2c0dc39754db3f5738d8ac5a76ea [diff] [blame] |
Cherrypick of Dirty fix for broken cursor position after text paste Fixes b/7110290 in jb mr1 Change-Id: I3a088f6bf889aeaddb720bd2e5359f7bf0bd98e2
diff --git a/src/com/android/mail/compose/ComposeActivity.java b/src/com/android/mail/compose/ComposeActivity.java index 827ed7f..a76383a 100644 --- a/src/com/android/mail/compose/ComposeActivity.java +++ b/src/com/android/mail/compose/ComposeActivity.java
@@ -540,7 +540,7 @@ if (signatureStartPos > -1) { // In case the user deleted the newlines... mBodyView.setSelection(signatureStartPos); - } else if (length > 0) { + } else if (length >= 0) { // Move cursor to the end. mBodyView.setSelection(length); }