Merge "Add name to LogBuffer threads" into tm-dev

This commit is contained in:
Justin Weir
2022-05-09 21:05:04 +00:00
committed by Android (Google) Code Review

View File

@@ -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())