Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82398369 authored by Adam Cohen's avatar Adam Cohen
Browse files

Fixing NPE in onFinishBindingItems (issue 10975740)

-> See bug for explanation. Seems like the circumstances leading to this
   NPE are understandable.

Change-Id: I89637a2da50be1081632e05cf79678c983a74d3a
parent 8ad682dd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -915,7 +915,7 @@ public class Launcher extends Activity
    }

    protected void onFinishBindingItems() {
        if (hasCustomContentToLeft() && mWorkspace.hasCustomContent()) {
        if (mWorkspace != null && hasCustomContentToLeft() && mWorkspace.hasCustomContent()) {
            addCustomContentToLeft();
        }
    }