summaryrefslogtreecommitdiff
path: root/libs/ui/KeyCharacterMap.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-12 18:28:25 -0800
commit15025254eb81d0bbd513d823662d46cf6e57f538 (patch)
treefce5a9f3b193fc15ee12b4973c1c32870c28124b /libs/ui/KeyCharacterMap.cpp
parent559acb0c46e891d357be75809586c1a61376d9bf (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: I8b5f6a63feeaeb9a01267380e85f6f1456e7aa01
Diffstat (limited to 'libs/ui/KeyCharacterMap.cpp')
0 files changed, 0 insertions, 0 deletions