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

Commit 70d63456 authored by kholoud mohamed's avatar kholoud mohamed
Browse files

Add non null check on mViewPager

Bug: 232034849
Test: N/A
Change-Id: I304088baf84dd6f65e096f610ebe11df036ae8d3
parent 97c6b268
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;
    }

    /**