commit | 9a81477e866ad1837cc7fdbaad80b15cdbafc936 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Fri Jan 06 08:38:40 2023 +0000 |
committer | Winson Chung <winsonc@google.com> | Fri Jan 06 17:53:56 2023 +0000 |
tree | db7ec7f97a9d6201d298a7b72a970113b718646b | |
parent | 12f428cb7c7058afe0a7b77ae8ca2cbd4038e278 [diff] |
Fix issue with leaking death recipients - When invalidating an existing external interface, we also need to unregister any listeners to ensure that binder death recipients are unlinked. Otherwise, a crash in the process for the old listener can cause the current listener to be unregistered. Bug: 242377577 Test: atest WMShellUnitTests Change-Id: Ibb77ac19e4ebc616b8977db70d6269e3b930848e