Commit 7573c031 authored by morckx's avatar morckx
Browse files

Eleven: Fix crash in LetterTileDrawable

- Make sure that the title string is not empty.

Change-Id: Ifa4b4f916f476519ecef19629e5b9d33ac0642e1
Signed-off-by: default avatarmorckx <>
parent 1074892a
......@@ -135,7 +135,7 @@ public class LetterTileDrawable extends Drawable {
// Draw letter/digit only if the first character is an english letter
if (mDisplayName != null
if (mDisplayName != null && !mDisplayName.isEmpty()
&& isEnglishLetter(mDisplayName.charAt(0))) {
int numChars = 1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment