Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f8857a74 authored by Justin Weir's avatar Justin Weir
Browse files

Add name to LogBuffer threads

Bug: 221419865
Test: Ran all the tests
Change-Id: I6d10bdadc5d8d0580f6c587215fcedd1bcda3cf7
parent f37b7bf3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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())