diff options
author | Robert Snoeberger <snoeberger@google.com> | 2020-03-25 21:53:59 -0400 |
---|---|---|
committer | Robert Snoeberger <snoeberger@google.com> | 2020-04-23 19:44:21 -0400 |
commit | 7101d9e336a470a5f946882319abae00fede6208 (patch) | |
tree | 8fcd76a1b98c668d669d43a0f128f49c2f0f3560 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 99b3d74876e2c5d52f5dc778b2c45a0f39cac399 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions