summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Charles Chen <charlesccchen@google.com> 2023-11-23 17:09:02 +0800
committer Charles Chen <charlesccchen@google.com> 2023-12-19 16:36:49 +0800
commit219afd3bf97557940a1d038247453083705d00d7 (patch)
treebb1bf4ea5ce351fe8d8d2bbefb126740026a120f /libs/androidfw/StringPool.cpp
parent9b7b17eedf3dd6e0b401d8c6b9e45b8e423af6cc (diff)
Calculate launched overlay bounds by calculator
Before, we pass Activity to OverlayCreateParams to calculate overlay bounds, but it may lead to memory leak since OverlayCreateParams stores Activity as a property. This CL changes to calculate overlay bounds by ActivityStackAttributesCalculator. When there's an overlay container to be launched, calculator will be triggered, and pass ParentContainerInfo based on launching Activity for the overlay bounds calculation. Bug: 243518738 Test: OverlayPresentationTest Change-Id: I113b6a31e175b0396f490075546449a9205bcb7e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions