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

Commit c97dbc3c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix possible NPE on delayed Runnable"

parents 891c39ba a3419cc2
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -66,8 +66,11 @@ public class TaskTapPointerEventListener implements PointerEventListener {
                    // method target window will lose the focus.
                    return;
                }
                mDisplayContent.getParent().positionChildAt(WindowContainer.POSITION_TOP,
                        mDisplayContent, true /* includingParents */);
                WindowContainer parent = mDisplayContent.getParent();
                if (parent != null) {
                    parent.positionChildAt(WindowContainer.POSITION_TOP, mDisplayContent,
                            true /* includingParents */);
                }
            }
        };
    }