summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Evan Rosky <erosky@google.com> 2022-06-29 14:43:57 -0700
committer Evan Rosky <erosky@google.com> 2022-07-07 09:49:26 -0700
commit33f70239476e15cbc0f131893e461302cf0212af (patch)
tree2df15ee529e1aad6eb569155720541b65b5b8597 /libs/androidfw/misc.cpp
parent91079f446edae5e82a17cf7b439fb39d335cb74f (diff)
Mark display ready when it loses active child
When reparenting an actively-collected container out from one display to another, when it becomes ready it will notify the destination display and not the source display. However, since it was added to syncset on the source display, that display will have a ready-tracker entry (since we currently track readiness per-display -- like legacy transitions). As a result the transition will time-out since the source display will never be set ready. To fix this, mark the display ready when a child is moved to the other display. The transition, in total, will still remain unready until that child is ready (on the new display) so it won't fire early. Bug: 237545923 Test: atest MultiDisplayPolicyTests#testStackFocusSwitchOnStackEmptied Change-Id: Ida70bee427e1baa517fa231ae52c53859c2f3dba
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions