diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/contacts/common/lettertiles/LetterTileDrawable.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/contacts/common/lettertiles/LetterTileDrawable.java b/src/com/android/contacts/common/lettertiles/LetterTileDrawable.java index 14548deb..a7076032 100644 --- a/src/com/android/contacts/common/lettertiles/LetterTileDrawable.java +++ b/src/com/android/contacts/common/lettertiles/LetterTileDrawable.java @@ -164,7 +164,7 @@ public class LetterTileDrawable extends Drawable { } // Draw letter/digit only if the first character is an english letter - if (mDisplayName != null + if (!TextUtils.isEmpty(mDisplayName) && isEnglishLetter(mDisplayName.charAt(0)) && (mAccount == null || (mAccount != null && !mAccount.type .equals(SimAccountType.ACCOUNT_TYPE)))) { |