-
- Downloads
Fix Notification animation controller memory leak
This fixes leaking of NotificationLaunchAnimatorController instances (together with their referenced Notification entries) by breaking a dependency cycle through IPC. Also removes completion callback - it's a very easy avenue to leak even more objects accidentally and is currently unused in SysUI code. Bug: 299069405 Bug: 298028699 Bug: 293929945 Test: unit tests for attached class. Reproduced issue on cheetah, confirmed fix of issue with a profiler. Change-Id: Ib17577cba17ed35b24c4ab32ce0ed55fc7a24605
Showing
- packages/SystemUI/animation/src/com/android/systemui/animation/ActivityLaunchAnimator.kt 86 additions, 5 deletions.../com/android/systemui/animation/ActivityLaunchAnimator.kt
- packages/SystemUI/src/com/android/systemui/util/ReferenceExt.kt 50 additions, 0 deletions...es/SystemUI/src/com/android/systemui/util/ReferenceExt.kt
- packages/SystemUI/tests/src/com/android/systemui/animation/ActivityLaunchAnimatorTest.kt 15 additions, 0 deletions.../android/systemui/animation/ActivityLaunchAnimatorTest.kt
Loading
Please register or sign in to comment