summaryrefslogtreecommitdiff
path: root/wifi/java/src
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-06-29 22:05:21 +0800
committer Riddle Hsu <riddlehsu@google.com> 2023-06-30 11:17:37 +0000
commit249ca4adb0a73bbbc012dfc2f3b49f2842c4c182 (patch)
tree1ab21d2dbd6c4164b39d6dcef805906be4df9413 /wifi/java/src
parent3620213c626b2f415d913e13803cd822cd887997 (diff)
Send all-window-drawn message of caller directly
It was posting to display thread and then ui thread, so if display thread is busy, the screen on callback can be delayed. So just let caller specify the message to send, then the callback can run on the target thread directly. It also eliminates the concern of arbitrary runnable which may be dangerous to run inside WM lock. Also move the end of trace waitForAllWindowsDrawn to where finishWindowsDrawn is called so it is more precise. Bug: 288581490 Test: Turn on screen and observe the end of trace waitForAllWindowsDrawn won't be affect by the messages in display thread. Change-Id: I875d3bec8a93a83798c093cd3c099fe8c022ae4b
Diffstat (limited to 'wifi/java/src')
0 files changed, 0 insertions, 0 deletions