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

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

Merge "Don't create WindowNode on windows with dettached view." into oc-mr1-dev

parents 3ee16024 5cfcb5cc
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1905,6 +1905,10 @@ public class AssistStructure implements Parcelable {
                activity.getActivityToken());
        for (int i=0; i<views.size(); i++) {
            ViewRootImpl root = views.get(i);
            if (root.getView() == null) {
                Log.w(TAG, "Skipping window with dettached view: " + root.getTitle());
                continue;
            }
            mWindowNodes.add(new WindowNode(this, root, forAutoFill, flags));
        }
    }