Merge "Add non null check on mViewPager" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
6c2c619d35
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user