summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRobert Snoeberger <snoeberger@google.com>2020-07-20 14:18:08 -0400
committerRobert Snoeberger <snoeberger@google.com>2020-07-20 14:18:08 -0400
commitc8525ecbe3863f8d6dc17a688dbb9668597c4a8a (patch)
tree24ac15ddcd1f4df40adf1affdb0ead55efe3d19e /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf57fbbbe14be84941c730d07a7d2ad26899a0269 (diff)
Prevent NotificationSwipeHelper from retaining notification
It has been observed that NotificationSwipeHelper can retain an ExpandableNotificationRow in memory after the notification has been dismissed. To prevent this, this change breaks the reference chain between the NotificationSwipeHelper and the NotificationMenuRow. A weak reference is used to refer to the NotificationMenuRow in the NotificationSwipeHelper. Fixes: 157506961 Bug: 161119435 Test: manual - Swipe to dismiss notifiation. Take heap dump. Verify that NotificationMenuRow isn't retained view NotificationSwipeHelper. Change-Id: Ibe445c31494b592f657b5ae94e4a7ee478a40070
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions