Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71f4c6b8 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE that happens only in some unit tests"

parents 08476dc1 268bf2cd
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -153,7 +153,9 @@ public final class EmojiPalettesView extends LinearLayout implements OnTabChange
            textView.setText(mEmojiCategory.getCategoryLabel(categoryId));
            textView.setTypeface(Typeface.DEFAULT_BOLD);
            textView.setContentDescription(mEmojiCategory.getAccessibilityDescription(categoryId));
            if (mTabLabelColor != null) {
                textView.setTextColor(mTabLabelColor);
            }
            tspec.setIndicator(textView);
        }
        host.addTab(tspec);