Add name to LogBuffer threads
Bug: 221419865 Test: Ran all the tests Change-Id: I6d10bdadc5d8d0580f6c587215fcedd1bcda3cf7
This commit is contained in:
@@ -89,7 +89,7 @@ class LogBuffer @JvmOverloads constructor(
|
||||
|
||||
init {
|
||||
if (logcatEchoTracker.logInBackgroundThread && echoMessageQueue != null) {
|
||||
thread(start = true, priority = Thread.NORM_PRIORITY) {
|
||||
thread(start = true, name = "LogBuffer-$name", priority = Thread.NORM_PRIORITY) {
|
||||
try {
|
||||
while (true) {
|
||||
echoToDesiredEndpoints(echoMessageQueue.take())
|
||||
|
||||
Reference in New Issue
Block a user