We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 417b059 + a13a41d commit dc9e13bCopy full SHA for dc9e13b
services/java/com/android/server/wm/WindowManagerService.java
@@ -8117,8 +8117,16 @@ private final void assignLayersLocked(WindowList windows) {
8117
}
8118
8119
8120
- private boolean mInLayout = false;
8121
private final void performLayoutAndPlaceSurfacesLocked() {
+ do {
8122
+ mTraversalScheduled = false;
8123
+ performLayoutAndPlaceSurfacesLockedLoop();
8124
+ mH.removeMessages(H.DO_TRAVERSAL);
8125
+ } while (mTraversalScheduled);
8126
+ }
8127
+
8128
+ private boolean mInLayout = false;
8129
+ private final void performLayoutAndPlaceSurfacesLockedLoop() {
8130
if (mInLayout) {
8131
if (DEBUG) {
8132
throw new RuntimeException("Recursive call!");
0 commit comments