summaryrefslogtreecommitdiff
path: root/libs/ui/KeyLayoutMap.cpp
diff options
context:
space:
mode:
author Eric Laurent <elaurent@google.com> 2011-01-04 11:58:04 -0800
committer Eric Laurent <elaurent@google.com> 2011-01-04 11:58:04 -0800
commita017d5b37968b2a70d8c25846bfeb9b35d0f7e9d (patch)
treec290a7025e0ba45e9b6f29b09d2e0260343fe440 /libs/ui/KeyLayoutMap.cpp
parent84680db3b5c90c53225a85aed868d5125dae9013 (diff)
Fix issue 3302649.
The cause of the problem is that AudioTrack::start() can fail if it is called from a newly created thread that has the same ID as the AudioTrack callback thread that has just been stopped and not yet exited. This is possible as the thread ID used by the Thread class is not the TID. The fix consists in clearing the thread ID before exiting the thread loop. Change-Id: I66e679665c384403cb3ba2c31746f5de72d5836d
Diffstat (limited to 'libs/ui/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions