Skip to content
Commit 7101d9e3 authored by Robert Snoeberger's avatar Robert Snoeberger
Browse files

Break strong ref to ExpandableNotificationRow

Since AnimationRunner requires two GCs to be collected, one in the
binding process and then one in system ui, the source notification can
be retained for longer than expected. To avoid this, break the strong
reference to the source notification after the animation has finished
or is cancelled.

Bug: 144109427
Test: Dumped java heap after clicking on notification to open app.
Checked that ExpandableNotificationRow wasn't retained by
AnimationRunner.

Change-Id: Id43847e3d10d9d96adf2f7af1781b6978f9de975
parent 99b3d748
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