summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Charles Chen <charlesccchen@google.com> 2022-04-15 23:33:25 +0800
committer Charles Chen <charlesccchen@google.com> 2022-04-25 20:24:43 +0800
commitf3787b207a3fced7fe3d367b869d5f39ad21f507 (patch)
tree99ea4720c600f0a176c6a516088faf8580f155c2 /cmds/bootanimation/BootAnimation.cpp
parent7391919a15f4b2438219a0aafd713c9e4e2468e1 (diff)
Revert^2 Fix testRegisterComponentCallbacksOnWindowContext flaky
This flakiness is due to race of config updates when WindowContext attaches to DisplyArea. This CL fixed it by: 1. Don't dispatch config updates to the client side when registering to DA. We have reported the value by the return value of #attachWindowContextToDisplayArea. 2. Add lock in WindowTokenClient#onConfigurationChanged to avoid race. During applying DA's config to WindowContext, WindowContext may get another callback from the server side and dispatch to ComponentCallbacks unexpectedly. Bug: 190019118 fixes: 228911504 Bug: 230022846 Test: atest RegisterComponentCallbacksTest --iterations Test: atest WindowContextTest WindowContextTests Test: atest WindowMetricsWindowContextTests Change-Id: I2d749a058c7a3828c8c8288040236f005aa00ab6
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions