summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Workspace.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher3/Workspace.java')
-rw-r--r--src/com/android/launcher3/Workspace.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java
index 6114157e0..d5b6de064 100644
--- a/src/com/android/launcher3/Workspace.java
+++ b/src/com/android/launcher3/Workspace.java
@@ -4375,7 +4375,9 @@ public class Workspace extends PagedView
final int N = folderPagedView.getItemCount();
for (int page = 0; page < N; page++) {
final CellLayout cellLayout = folderPagedView.getPageAt(page);
- updateUnvailableItemsInCellLayout(cellLayout, packages);
+ if (cellLayout != null) {
+ updateUnvailableItemsInCellLayout(cellLayout, packages);
+ }
}
folder.invalidate();
}