diff options
| author | 2023-03-29 02:49:04 +0000 | |
|---|---|---|
| committer | 2023-04-02 17:27:00 +0000 | |
| commit | 79885f4c88f58ef3341081b78ace5b76f1214a8f (patch) | |
| tree | 1ba274cd7ee2e8ac6bcdb539a1095db35ba67cae /libs/androidfw/ApkParsing.cpp | |
| parent | 90a7bd1f9e272bee8c54162f3609e696e6b669f7 (diff) | |
Fix a stale animator reference being used on bounds change
The call to setDestinationBounds applies the shadow if animation
type is alpha and it's called on each keep clear area change event,
when sometimes the enter PiP animation has not started yet (hence
there is a stale reference to old animator that should have been
cleaned up in onTaskVanished).
Bug: 275646078
Test: before http://recall/-/ekEuGtt9d9HWqkUtAzpHx8/dXniGevCFIEI5nyLN0zw1V
but only if the .isRuning condition is removed from updateAnimatorBounds
Test: after http://recall/-/ekEuGtt9d9HWqkUtAzpHx8/c3FwTxsPWiRT67JjxcWrMw
Change-Id: I34cb5b7621bf7c087d9c6e5a736b240e01d18a6a
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions