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

Skip to content
Commit 55d75ec7 authored by Jernej Virag's avatar Jernej Virag
Browse files

Don't create copies of Icon bitmaps for Smartspace

We're serializing and transporting bitmaps as Icons via IPC. Right now,
this creates new copies when deserializing, which can create significant
increase in RSS+Anon memory usage in SysUI.

This change uses the same approach as Notification.java, where Icons are
stored in ashmem before being transported over IPC - this means we ever
only deserialize a buffer pointer.

Bug:287201133
Bug:275486055

Test: verified drop in RSS with perfetto on cheetah, cycling lockscreen
      200 times
Change-Id: I6b3a73732e3c49d04e28bdf1bf2e7c9638e61520
parent 1d328a77
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment