diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2012-09-05 19:46:52 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-09-05 19:46:52 -0700 |
commit | f19ef48297645cc464e2d89cff7bfff23a7fbe6e (patch) | |
tree | 34ca2badfa3cf31d986f7f4d1f06debe89d42a21 /src | |
parent | eae91d793a2d9b2fb4631879f44de0615a085c19 (diff) | |
parent | 56f72536efb4f9d0c35f79b87df69c3b8315de17 (diff) | |
download | Mms-f19ef48297645cc464e2d89cff7bfff23a7fbe6e.tar.gz |
am 56f72536: am 253230d4: Merge "Mms: Two popups are displayed when Press Enter key on message screen."
* commit '56f72536efb4f9d0c35f79b87df69c3b8315de17':
Mms: Two popups are displayed when Press Enter key on message screen.
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/mms/ui/ComposeMessageActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/mms/ui/ComposeMessageActivity.java b/src/com/android/mms/ui/ComposeMessageActivity.java index 2e44ce02..a4495576 100644 --- a/src/com/android/mms/ui/ComposeMessageActivity.java +++ b/src/com/android/mms/ui/ComposeMessageActivity.java @@ -3250,7 +3250,7 @@ public class ComposeMessageActivity extends Activity if (event != null) { // if shift key is down, then we want to insert the '\n' char in the TextView; // otherwise, the default action is to send the message. - if (!event.isShiftPressed()) { + if (!event.isShiftPressed() && event.getAction() == KeyEvent.ACTION_DOWN) { if (isPreparedForSending()) { confirmSendMessageIfNeeded(); } |