am a4944dff
: Fix NPE in Key.isDigitPopupCharacter (DO NOT MERGE)
* commit 'a4944dffa9a0476c61f6a1f194e2bf025071e6a6': Fix NPE in Key.isDigitPopupCharacter (DO NOT MERGE)
This commit is contained in:
commit
1f1638d62b
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ public class Key {
|
|||
}
|
||||
|
||||
private static boolean isDigitPopupCharacter(CharSequence label) {
|
||||
return label.length() == 1 && Character.isDigit(label.charAt(0));
|
||||
return label != null && label.length() == 1 && Character.isDigit(label.charAt(0));
|
||||
}
|
||||
|
||||
private static CharSequence[] filterOutDigitPopupCharacters(CharSequence[] popupCharacters) {
|
||||
|
|
Loading…
Reference in a new issue