Remove unnecessary logcat message Bug: 28281435 Change-Id: If0865b20576322845cd23743916c4589ea199287 (cherry picked from commit 633beab5de5ffe4c5068cf1c7a1c0bd09ee9f195)
diff --git a/cpu_ref/rsCpuCore.cpp b/cpu_ref/rsCpuCore.cpp index 70aaba7..011b8e3 100644 --- a/cpu_ref/rsCpuCore.cpp +++ b/cpu_ref/rsCpuCore.cpp
@@ -258,7 +258,9 @@ // Subtract one from the cpu count because we also use the command thread as a worker. mWorkers.mCount = (uint32_t)(cpu - 1); - ALOGV("%p Launching thread(s), CPUs %i", mRSC, mWorkers.mCount + 1); + if (mRSC->props.mLogScripts) { + ALOGV("%p Launching thread(s), CPUs %i", mRSC, mWorkers.mCount + 1); + } mWorkers.mThreadId = (pthread_t *) calloc(mWorkers.mCount, sizeof(pthread_t)); mWorkers.mNativeThreadId = (pid_t *) calloc(mWorkers.mCount, sizeof(pid_t));