am 90f9f957: am 83e5941d: Fix NPE in Workspace
* commit '90f9f9577322205ff6f17bdc22fea9954b1ff783': Fix NPE in Workspace
This commit is contained in:
commit
1025eeb175
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue