am 83e5941d: Fix NPE in Workspace
* commit '83e5941d8ef6ca33bdd6278f6089c8d6d00de942': Fix NPE in Workspace
This commit is contained in:
@@ -1107,7 +1107,7 @@ public class Workspace extends SmoothPagedView
|
||||
case MotionEvent.ACTION_UP:
|
||||
if (mTouchState == TOUCH_STATE_REST) {
|
||||
final CellLayout currentPage = (CellLayout) getChildAt(mCurrentPage);
|
||||
if (!currentPage.lastDownOnOccupiedCell()) {
|
||||
if (currentPage != null && !currentPage.lastDownOnOccupiedCell()) {
|
||||
onWallpaperTap(ev);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user