summaryrefslogtreecommitdiff
path: root/services/coverage/java
diff options
context:
space:
mode:
author Mateusz Cicheński <mateuszc@google.com> 2023-01-14 02:14:38 +0000
committer Mateusz Cicheński <mateuszc@google.com> 2023-01-17 23:01:38 +0000
commitdcf8a9c0f180ce0b392c5deb36a98c8b761c5d3b (patch)
treee7a31fe2c9b832b3622402a53e5d031ed59b8830 /services/coverage/java
parente51346d9613f30f43a261aff26e8c45600e3f1f4 (diff)
Don't add a dismiss target to WM if we're not in PiP.
This prevents adding dismiss-overlay window even when user never had entered PiP mode. (e.g. booting a device) Otherwise we re-add the same dismiss target in onConfigurationChange and it doesn't get removed properly in onOverlayChanged that calls init(). That in turn is caused because the same View is being added twice, and the corresponding AttachInfo is not set properly the second time, which prevents the removal logic in init() from working correctly. It is not set properly because the ViewRootImpl traversal didn't have a chance to set the mAttachInfo in the first traversal, when the onOverlayChanged gets called. Test: atest WMShellFlickerTests Bug: 258120818 Change-Id: I9bca4d179aabe6f95d0416cd457d4707b25e113c
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions