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

Commit 207493c4 authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am 5161f209: Fix crashing bug in validator.

* commit '5161f209':
  Fix crashing bug in validator.
parents 1c4586ce 5161f209
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;