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

Commit a4913994 authored by Satoshi Kataoka's avatar Satoshi Kataoka
Browse files

Hide indication bar if only one page

Bug: 10923117
Change-Id: If81bf07ba2e7c4fff44a8832f98b4a393c15edc7
parent 126d758c
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -50,8 +50,9 @@ public class EmojiCategoryPageIndicatorView extends LinearLayout {

    @Override
    protected void onDraw(Canvas canvas) {
        if (mCategoryPageSize == 0) {
            // If the category is not set yet, just clear and return.
        if (mCategoryPageSize <= 1) {
            // If the category is not set yet or contains only one category,
            // just clear and return.
            canvas.drawColor(0);
            return;
        }