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

Commit 5161f209 authored by Craig Mautner's avatar Craig Mautner
Browse files

Fix crashing bug in validator.

Change-Id: I649bb7cfc2b42fbeda478edcaa3a56f3c23d4bc8
parent 07aa25da
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3139,6 +3139,10 @@ public class WindowManagerService extends IWindowManager.Stub
                }

                while (v >= 0) {
                    if (!iterator.hasNext()) {
                        mismatch = true;
                        break;
                    }
                    AppWindowToken atoken = iterator.next();
                    if (atoken.removed) {
                        continue;