diff options
| author | 2023-11-23 17:09:02 +0800 | |
|---|---|---|
| committer | 2023-12-19 16:36:49 +0800 | |
| commit | 219afd3bf97557940a1d038247453083705d00d7 (patch) | |
| tree | bb1bf4ea5ce351fe8d8d2bbefb126740026a120f /libs/androidfw/FileStream.cpp | |
| parent | 9b7b17eedf3dd6e0b401d8c6b9e45b8e423af6cc (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/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions