Description[Android] Use the UI thread for VSyncMonitorTest vsync requests
VSyncMonitor is not thread-safe, and is not intended to be. When a vsync
request is made from a non-UI thread, there is a race where both a
synthetic and frame-based callback can fire for the same request. Avoid
this by making sure VSyncMonitorTest only requests updates from the UI
thread, representative of production code behavior.
BUG=498007
Committed: https://crrev.com/aab443b709be482b746ffa47c3a04e69fade3e83
Cr-Commit-Position: refs/heads/master@{#333580}
Patch Set 1 #Patch Set 2 : Fix test #
Messages
Total messages: 13 (5 generated)
|