summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Tim Murray <timmurray@google.com> 2022-04-12 17:04:56 -0700
committer Tim Murray <timmurray@google.com> 2022-04-18 18:36:02 +0000
commit21a8baaeb1d88161f476898de4a9346dd454ec7e (patch)
treeebe2904b882e54c06e855318be67d7c56359014f /libs/androidfw/StringPool.cpp
parent41eed224187e2c9cc6f602d41150148f36818caf (diff)
RemoteViews: make bitmaps immutable
Because mutability is propagated across Parcel and Binder, any mutable Bitmaps passed to RemoteViews will end up mutable on the other side even though those Bitmaps can't be modified from the RemoteViews recipient. Make all Bitmaps passed to RemoteViews immutable in order to ensure that they can be sent without additional copies instead of the one ashmem object. Test: TH, RemoteViews work for widgets Bug: 227920378 Change-Id: I477e7132f9ff78333c1eda56b9d0fc6ac520abd0
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions