Merge "Audio primary hal: fix member function used before init" into oc-dev

am: 30f78a13b0

Change-Id: If2ce1de9bade109b6a6a70d15946f44559e6eea7
This commit is contained in:
Eric Laurent
2017-04-19 17:49:16 +00:00
committed by android-build-merger

View File

@@ -354,7 +354,7 @@ Return<void> StreamIn::prepareForReading(
CommandMQ::Descriptor(), DataMQ::Descriptor(), StatusMQ::Descriptor(), threadInfo);
return Void();
}
status = mReadThread->run("reader", PRIORITY_URGENT_AUDIO);
status = tempReadThread->run("reader", PRIORITY_URGENT_AUDIO);
if (status != OK) {
ALOGW("failed to start reader thread: %s", strerror(-status));
_hidl_cb(Result::INVALID_ARGUMENTS,