Rename logWriterTLS to tlNBLogWriter
Bug: 37153050
Test: builds OK
Change-Id: I6b6d673fc02942d4ea7d2022fce06ec2b0e42c2e
diff --git a/services/audioflinger/FastThread.cpp b/services/audioflinger/FastThread.cpp
index ae4747e..85865b7 100644
--- a/services/audioflinger/FastThread.cpp
+++ b/services/audioflinger/FastThread.cpp
@@ -91,9 +91,9 @@
bool FastThread::threadLoop()
{
- // LOGT now works even if logWriterTLS is nullptr, but we're considering changing that,
+ // LOGT now works even if tlNBLogWriter is nullptr, but we're considering changing that,
// so this initialization permits a future change to remove the check for nullptr.
- logWriterTLS = &mDummyNBLogWriter;
+ tlNBLogWriter = &mDummyNBLogWriter;
for (;;) {
// either nanosleep, sched_yield, or busy wait
@@ -125,7 +125,7 @@
mDumpState = next->mDumpState != NULL ? next->mDumpState : mDummyDumpState;
mNBLogWriter = next->mNBLogWriter != NULL ? next->mNBLogWriter : &mDummyNBLogWriter;
setNBLogWriter(mNBLogWriter); // FastMixer informs its AudioMixer, FastCapture ignores
- logWriterTLS = mNBLogWriter;
+ tlNBLogWriter = mNBLogWriter;
// We want to always have a valid reference to the previous (non-idle) state.
// However, the state queue only guarantees access to current and previous states.