diff options
author | Stan Iliev <stani@google.com> | 2019-02-06 12:02:28 -0500 |
---|---|---|
committer | Stan Iliev <stani@google.com> | 2019-02-06 12:02:28 -0500 |
commit | 978d5321b4a055fcc02dd72208bffd62113fde10 (patch) | |
tree | 2243da42afaba840f019cf3cddc36160b9aafec4 /libs/hwui/thread/TaskManager.cpp | |
parent | b3cd68bc8230dfa38491ee712f33420a02049071 (diff) |
Fix RenderThread and worker thread names used by tools
Test: collected systrace and RenderThread hwuiTask1/2 shown
Change-Id: I1114ff72a7ed8c9dc86a64ebd15ca783d1b2ff08
Diffstat (limited to 'libs/hwui/thread/TaskManager.cpp')
-rw-r--r-- | libs/hwui/thread/TaskManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/thread/TaskManager.cpp b/libs/hwui/thread/TaskManager.cpp index 6493d495716e..de10ff1824ee 100644 --- a/libs/hwui/thread/TaskManager.cpp +++ b/libs/hwui/thread/TaskManager.cpp @@ -87,7 +87,7 @@ status_t TaskManager::WorkerThread::readyToRun() { setpriority(PRIO_PROCESS, 0, PRIORITY_FOREGROUND); auto onStartHook = renderthread::RenderThread::getOnStartHook(); if (onStartHook) { - onStartHook(); + onStartHook(mName.c_str()); } return NO_ERROR; |