diff options
| author | 2020-05-08 09:24:29 -0700 | |
|---|---|---|
| committer | 2020-05-12 22:31:33 -0700 | |
| commit | cd899e8fc9e3017eb1dedd6124abf89a6054f509 (patch) | |
| tree | 10d601328882165e6e7716d35e095812fa076410 /opengl/libagl/TextureObjectManager.cpp | |
| parent | 7e838c2377a42907783d9de7aaa6e16b7d085a3f (diff) | |
Add locks to InputDispatcher_test
The variables inside the policy are being called from the test thread
and the InputDispatcher thread. They are being accessed without a lock
today. This is OK because we are waiting for dispatcher to go to idle
today, but in ag/10847700 we will have dispatcher not idle, and need to
have a way to wait for a policy callback from the test thread with a
certain timeout.
Add locks to the policy variables here to reduce the diff.
Bug: 143459140
Test: atest inputflinger_tests
Change-Id: I77f5ec15cdfd55ce4c4dfcb501071b2c7c961b1b
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions