am dc9e13b3: Merge "Perform all layouts within first loop." into jb-mr1-dev
* commit 'dc9e13b30ab26f8382b7e67dd681dee9b04bdb29': Perform all layouts within first loop.
This commit is contained in:
@@ -8117,8 +8117,16 @@ public class WindowManagerService extends IWindowManager.Stub
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean mInLayout = false;
|
|
||||||
private final void performLayoutAndPlaceSurfacesLocked() {
|
private final void performLayoutAndPlaceSurfacesLocked() {
|
||||||
|
do {
|
||||||
|
mTraversalScheduled = false;
|
||||||
|
performLayoutAndPlaceSurfacesLockedLoop();
|
||||||
|
mH.removeMessages(H.DO_TRAVERSAL);
|
||||||
|
} while (mTraversalScheduled);
|
||||||
|
}
|
||||||
|
|
||||||
|
private boolean mInLayout = false;
|
||||||
|
private final void performLayoutAndPlaceSurfacesLockedLoop() {
|
||||||
if (mInLayout) {
|
if (mInLayout) {
|
||||||
if (DEBUG) {
|
if (DEBUG) {
|
||||||
throw new RuntimeException("Recursive call!");
|
throw new RuntimeException("Recursive call!");
|
||||||
|
|||||||
Reference in New Issue
Block a user