Merge "Skip syncing local window for rotation with shell transition" into tm-qpr-dev am: 4f28845c84
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19378988 Change-Id: Ie6d445641d64a8ce9663b2208acddf5f59a55d58 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -204,8 +204,11 @@ class AsyncRotationController extends FadeAnimationController implements Consume
|
|||||||
for (int i = mTargetWindowTokens.size() - 1; i >= 0; i--) {
|
for (int i = mTargetWindowTokens.size() - 1; i >= 0; i--) {
|
||||||
final WindowToken token = mTargetWindowTokens.keyAt(i);
|
final WindowToken token = mTargetWindowTokens.keyAt(i);
|
||||||
for (int j = token.getChildCount() - 1; j >= 0; j--) {
|
for (int j = token.getChildCount() - 1; j >= 0; j--) {
|
||||||
// TODO(b/234585256): The consumer should be handleFinishDrawing().
|
// TODO(b/234585256): The consumer should be handleFinishDrawing(). And check why
|
||||||
token.getChildAt(j).applyWithNextDraw(t -> {});
|
// the local window might easily time out.
|
||||||
|
final WindowState w = token.getChildAt(j);
|
||||||
|
if (w.isClientLocal()) continue;
|
||||||
|
w.applyWithNextDraw(t -> {});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
mIsSyncDrawRequested = true;
|
mIsSyncDrawRequested = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user