diff --git a/libutils/Threads.cpp b/libutils/Threads.cpp index 7d7f0e283d50..2d7e46f9a017 100644 --- a/libutils/Threads.cpp +++ b/libutils/Threads.cpp @@ -661,7 +661,10 @@ status_t Thread::readyToRun() status_t Thread::run(const char* name, int32_t priority, size_t stack) { - LOG_ALWAYS_FATAL_IF(name == nullptr, "thread name not provided to Thread::run"); + if (name == nullptr) { + ALOGW("Thread name not provided to Thread::run"); + name = 0; + } Mutex::Autolock _l(mLock);