diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java index bf12d79485..ba34c136c6 100644 --- a/src/com/android/launcher3/Launcher.java +++ b/src/com/android/launcher3/Launcher.java @@ -915,7 +915,7 @@ public class Launcher extends Activity } protected void onFinishBindingItems() { - if (hasCustomContentToLeft() && mWorkspace.hasCustomContent()) { + if (mWorkspace != null && hasCustomContentToLeft() && mWorkspace.hasCustomContent()) { addCustomContentToLeft(); } }