diff options
Diffstat (limited to 'ProcessState.cpp')
-rw-r--r-- | ProcessState.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ProcessState.cpp b/ProcessState.cpp index c2284f8..2403500 100644 --- a/ProcessState.cpp +++ b/ProcessState.cpp @@ -301,9 +301,9 @@ void ProcessState::spawnPooledThread(bool isMain) { if (mThreadPoolStarted) { String8 name = makeBinderThreadName(); - ALOGV("Spawning new pooled thread, name=%s\n", name.string()); + ALOGV("Spawning new pooled thread, name=%s\n", name.c_str()); sp<Thread> t = new PoolThread(isMain); - t->run(name.string()); + t->run(name.c_str()); } } @@ -358,7 +358,7 @@ size_t ProcessState::getMaxThreads() { } void ProcessState::giveThreadPoolName() { - androidSetThreadName( makeBinderThreadName().string() ); + androidSetThreadName( makeBinderThreadName().c_str() ); } static int open_driver() |