summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jernej Virag <jernej@google.com> 2024-02-22 14:30:58 +0100
committer Jernej Virag <jernej@google.com> 2024-02-22 14:30:58 +0100
commit797d80ee9010a0d1fc1c4ae14e6cdc51b3643ce7 (patch)
tree119bf2d431dc1269ef47b6a694d7df2255f99b24 /libs/androidfw/StringPool.cpp
parentecabb7d6cb63c61221d330ff4e5e8d11381ee8bc (diff)
Use ashmem memory to transport MediaDescription to other processes
This follows the pattern used by Icon objects (for e.g. Notifications) where contructing the object creates a shared memory Bitmap so updates and transport to other processes doesn't add extra large memory copies. This is important for things like album art which can be rather large (we see 1000x1000 bitmaps occasionally). Bug: 288241280 Flag: ACONFIG com.android.media.performance.MEDIA_DESCRIPTION_ASHMEM_BITMAP DISABLED Test: on cheetah with media applications Change-Id: I6320b000ed4a3785b67c8574aa3ad3b3195ee273
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions