summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Nicolo' Mazzucato <nicomazz@google.com> 2023-11-03 10:04:09 +0000
committer Nicolo' Mazzucato <nicomazz@google.com> 2023-11-03 15:25:48 +0000
commit39525b23000540e684b400b419eca97c4f5c61c4 (patch)
treea77ffbe75451beb560d812020c4e843c3d694169 /api/api_test.go
parent61d9e4227a3994cd4b9401f879178c8d8f3df9bb (diff)
Fix dialog flicker when onDisplayChanged is received
Adds a "distrinctUntilChanged" to the pending displayId, as onDisplayChanged was triggering it to be recomputed, and this was causing a flicker in the dialog. This was happening only while a video was playing. This makes logging for each DisplayRepository flow more clear in a perfetto trace. Also all display events are now logged. Flag: None Bug: 308865451 Bug: 308789093 Test: DisplayRepositoryTest Change-Id: I87b5d97198f1ee7e7d6983481f9cccb0634a2880
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions