Merge change 9040
* changes: Don't offer to add numbers to the dictionary.
This commit is contained in:
@@ -6916,6 +6916,17 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
||||
}
|
||||
}
|
||||
|
||||
boolean hasLetter = false;
|
||||
for (int i = start; i < end; i++) {
|
||||
if (Character.isLetter(mTransformed.charAt(i))) {
|
||||
hasLetter = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!hasLetter) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (start == end) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user