Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 219afd3b authored by Charles Chen's avatar Charles Chen
Browse files

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
parent 9b7b17ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment