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

Commit 2c358c08 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

Change-Id: I087ed38bdad56f6b6549fd3ab8a08bb66be22a7b
parents aa8c437d 70c72263
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));
        }
    }