Merge "Fix race in AudioTrack destruction" into jb-dev
diff --git a/media/libmedia/AudioTrack.cpp b/media/libmedia/AudioTrack.cpp
index 9391d16..b5b7adc 100644
--- a/media/libmedia/AudioTrack.cpp
+++ b/media/libmedia/AudioTrack.cpp
@@ -1461,7 +1461,7 @@
 {
     // must be in this order to avoid a race condition
     Thread::requestExit();
-    mMyCond.signal();
+    resume();
 }
 
 void AudioTrack::AudioTrackThread::pause()