commit | a4ca8ea0ad14c509d1ced46482e83c1b8a518982 | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Tue Apr 02 18:01:38 2013 -0700 |
committer | Jeff Brown <jeffbrown@google.com> | Tue Apr 02 18:59:15 2013 -0700 |
tree | 6b1bc9de8b5dfdfefbd1ef7cbf6b52c9dbc5c8f4 | |
parent | ddd168d65f0bc9644434d18dd82fe6c994670dba [diff] |
Fix reference cycle in InputEventReceiver and Sender. If the receiver or sender was not properly disposed, then the underlying input channel might be leaked because the native peer was holding a strong reference to the object. Switched to using a weak reference. Also updated Binder to use a new helper created for this purpose. Change-Id: I19680bf96d0548777bff02aa1d91874d1e8e41da