summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Robin Lee <rgl@google.com> 2024-05-28 17:29:53 +0200
committer Robin Lee <rgl@google.com> 2024-06-06 10:27:20 +0000
commit47b8fc537f42e105f9598897220cbe6106e5d6e4 (patch)
tree467181331775f1fda4af25f6e591453f1b088a9a /libs/androidfw/StringPool.cpp
parentfee56b0f96bd29252e8ac054705e435aaa38fea2 (diff)
Reduce ActiveTransition to its token for callbacks
ActiveTransition is a somewhat-heavy object because it references all of the TransitionInfo and SurfaceControl.Transaction data, meaning they can not be released if another object or process is still holding onto them. Passing out just the IBinder reduces the potential damage of a ref cycle or slow GC from several megabytes to a few hundred bytes. We alo Flag: EXEMPT bugfix Test: atest WMShellUnitTests:ShellTransitionTests Test: manually run a few transitions and use ahat to check the dumpheap Bug: 338077587 Change-Id: Ib15c5281a284a920f3098c30f8dc401efcd475ad
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions