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

Commit fd068d32 authored by Felipe Leme's avatar Felipe Leme Committed by android-build-merger
Browse files

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

am: 2c358c08

Change-Id: I95eebec13fad8c326dd784c9de06ac8bcf6b2df8
parents 8438d84c 2c358c08
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));
        }
    }