Merge "Fix NullException in QwertyKeyListener.KeyDown"

This commit is contained in:
Jeff Brown
2014-05-20 20:37:44 +00:00
committed by Gerrit Code Review

View File

@@ -115,7 +115,7 @@ public class QwertyKeyListener extends BaseKeyListener {
if (count > 0 && selStart == selEnd && selStart > 0) {
char c = content.charAt(selStart - 1);
if (c == i || c == Character.toUpperCase(i) && view != null) {
if ((c == i || c == Character.toUpperCase(i)) && view != null) {
if (showCharacterPicker(view, content, c, false, count)) {
resetMetaState(content);
return true;