summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Jernej Virag <jernej@google.com> 2023-06-15 14:50:25 +0200
committer Jernej Virag <jernej@google.com> 2023-06-21 08:01:46 +0000
commit55d75ec73ce2603d0ba337f1a940803b3a92f25e (patch)
treecb450cb4ffea8da093332a916ccb088ba3c6303f /libs/androidfw/ApkParsing.cpp
parent1d328a774cda542342568ec6d247617084d15fb1 (diff)
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
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions