am a4944dff: Fix NPE in Key.isDigitPopupCharacter (DO NOT MERGE)
* commit 'a4944dffa9a0476c61f6a1f194e2bf025071e6a6': Fix NPE in Key.isDigitPopupCharacter (DO NOT MERGE)main
commit
1f1638d62b
|
@ -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 New Issue