summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Nicolò Mazzucato <nicomazz@google.com> 2024-09-12 11:34:28 +0000
committer Nicolò Mazzucato <nicomazz@google.com> 2024-09-12 11:34:28 +0000
commit611728f7a7a4f9b518d3ddbd0e755ff62d0745ea (patch)
tree24c6ea554f6de0b7882043ea6d31068083aefe9d /libs/input/PointerController.cpp
parent2c2b2ca72d12be5760769c3bf5ed7a72e0ed92cf (diff)
Fix race in DisplayRepository tests
while on real devices tests were passing fine, on cuttlefish there were some flakes. Those were because sometimes the "initial value" of enabledDisplayId was being propagated before or after the initial value of the "scan". When the "scan" initial value was propagated first, only the default display was in the output for the first event. When the StateIn initial value was propagated first, everything worked as expected. Now the same initial value is provided to the scan and the sharein for enabledDisplayIds. Also, cleaning up the flag (now in next) Bug: 345472038 Bug: 358145460 Test: DisplayRepositoryTest Flag: com.android.systemui.enable_efficient_display_repository Change-Id: Ie1e64271d01936ee064f780b1a1f390b769cca31
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions