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

Commit 6c2c619d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add non null check on mViewPager" into tm-dev

parents 19d43e05 70d63456
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -326,7 +326,7 @@ public abstract class BaseAllAppsContainerView<T extends Context & ActivityConte
    }

    protected boolean isPersonalTab() {
        return mViewPager.getNextPage() == 0;
        return mViewPager == null || mViewPager.getNextPage() == 0;
    }

    /**