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

Commit 55bca68c authored by Julia Tuttle's avatar Julia Tuttle Committed by Android (Google) Code Review
Browse files

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

parents b83f2e07 fd5d9ed4
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()
    }

    /**