summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRobert Snoeberger <snoeberger@google.com>2020-07-14 12:21:31 -0400
committerRobert Snoeberger <snoeberger@google.com>2020-07-14 12:47:39 -0400
commit8364039bddb33763beca5def090a08c2202eaa16 (patch)
treef221e33b4cc86b7758329a01a0c6a66822cd657f /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf57fbbbe14be84941c730d07a7d2ad26899a0269 (diff)
Prevent RemoteInputView from retaining NotificationEntry
It has been observed in heap dumps that the InputMethodManager can hold a NotificationEntry in memory after the notification has been dismissed. To prevent this, this change breaks the reference chain between the RemoteEditText and the RemoteInputView. The cut is performed when the RemoteInputView is detached from the window. Fixes: 159201509 Test: manual - Click on smart reply. Take a heap dump. Verify that NotificationEntry isn't retained in memory via InputMethodManager. Change-Id: Idfdfa49dbc32bb2f256bc5da74dbd9eeeb7f2153
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions