Fix crashing bug in validator.
Change-Id: I649bb7cfc2b42fbeda478edcaa3a56f3c23d4bc8
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user