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

Commit 85a1a265 authored by Jernej Virag's avatar Jernej Virag
Browse files

Shallow copy notifications when measuring memory use

Bug: 325012839
Test: covered by unit tests
Change-Id: Icba972561d4e56dccaa3f55a7a821dad970eb752
parent 1aec8253
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -142,7 +142,7 @@ constructor(

    private fun getAllNotificationsOnMainThread() =
        runBlocking(mainDispatcher) {
            traceSection("NML#getNotifications") { notificationPipeline.allNotifs }
            traceSection("NML#getNotifications") { notificationPipeline.allNotifs.toList() }
        }
}