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

Commit fd5d9ed4 authored by Julia Tuttle's avatar Julia Tuttle
Browse files

Reformat NotificationMemoryMonitor.kt in main to match tm-qpr-dev

Bug: 194112194
Bug: 235451049
Bug: 243819288
Test: n/a, just reformats code
Change-Id: Ia0a064f9ce267e86e6c2b3e4a235b1786d2e41dd
parent 2d1f4371
Loading
Loading
Loading
Loading
+13 −9
Original line number Diff line number Diff line
@@ -73,15 +73,19 @@ constructor(
    fun notificationMemoryUse(
        notifications: Collection<NotificationEntry>
    ): List<NotificationMemoryUsage> {
        return notifications.asSequence().map { entry ->
        return notifications
            .asSequence()
            .map { entry ->
                val packageName = entry.sbn.packageName
                val notificationObjectUsage =
                    computeNotificationObjectUse(entry.sbn.notification, hashSetOf())
                NotificationMemoryUsage(
                    packageName,
                    NotificationUtils.logKey(entry.sbn.key),
                notificationObjectUsage)
        }.toList()
                    notificationObjectUsage
                )
            }
            .toList()
    }

    /**