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

Skip to content
Commit 6728e2f3 authored by chaviw's avatar chaviw
Browse files

Merge transactions to parent if layer is going to be removed.

Transaction objects are stored in each WindowContainer. There are cases
where a transaction is added for a layer by using the WindowContainer
transaction object. The WindowContainer can be removed before its
transaction is merged to the global transaction. If that occurs, the
layer can remain around in SF until gc cleans it up.

Bug: 74078662
Test: Open new app. The snapshot animation leash should be gone from
dumpsys.
Test: Open app in split screen. Exit split screen. Open app again in
split screen. There shouldn't be any empty stacks in dumpsys.

Change-Id: I31a61773edf1f541726691b4510c544bbd5beea4
parent a822d424
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