summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Mark Fasheh <mfasheh@google.com> 2025-01-14 20:58:16 +0000
committer Mark Fasheh <mfasheh@google.com> 2025-02-07 23:57:38 +0000
commit734d655a61aa502eb67acd56eb53b4a02c5fa30d (patch)
tree17ab88a255a9913efb6c8b75dff819230097654e /libs/androidfw/StringPool.cpp
parent6a1baafa742ba095e8853daf9ef50fa1f3d33560 (diff)
Transfer Bitmap.mId whenever we send an ashmem bitmap over the wire
Only do this when we do a zero copy transfer of an ashmem region. Otherwise a value of zero is sent and mId is generated as usual on the receiving end. We can look at this in heap dumps and compare identical bitmaps to see whether they are shared with another process, or are a process-local copy. Bug: 386212855 Test: boot phone and take heap dumps Flag: NONE no public API change Change-Id: Ic791f256884d18f07a03d2f5c7d4e694855e6527
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions