From 0a79ec19720c64719cc4ad56c4a5ed081a003896 Mon Sep 17 00:00:00 2001 From: jiangyou li Date: Tue, 2 Feb 2021 14:27:08 +0800 Subject: Fix system_server's main thread name. When BinderIncrementalService start, it call ps->giveThreadPoolName() change the thread name to Binder:%d_%X. However BinderIncrementalService run in system_serve main thread, it need not change the thread name. BUG: 171354331 Test: adb shell ps -T [pid] check the main thread name of system_server Change-Id: I53fc6e096cae78798bb0a2670dcf2d8b4da3f5b6 --- services/incremental/BinderIncrementalService.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'services/incremental/BinderIncrementalService.cpp') diff --git a/services/incremental/BinderIncrementalService.cpp b/services/incremental/BinderIncrementalService.cpp index 0ae10b6dc3b5..a3cadf3cc0b2 100644 --- a/services/incremental/BinderIncrementalService.cpp +++ b/services/incremental/BinderIncrementalService.cpp @@ -88,7 +88,6 @@ BinderIncrementalService* BinderIncrementalService::start(JNIEnv* env) { } sp ps(ProcessState::self()); ps->startThreadPool(); - ps->giveThreadPoolName(); // sm->addService increments the reference count, and now we're OK with returning the pointer. return self.get(); } -- cgit v1.2.3-59-g8ed1b