commit | b4da4f362dce1aeb6c7463540859f7c9d720cc97 | [log] [tgz] |
---|---|---|
author | Suprabh Shukla <suprabh@google.com> | Tue May 25 16:33:35 2021 -0700 |
committer | Suprabh Shukla <suprabh@google.com> | Tue May 25 20:53:46 2021 -0700 |
tree | 86cfcb29d86b50135551e7fde00f009e65f42823 | |
parent | 4c50f57afd35b35b8f819aa7869c67b0ffc7f597 [diff] |
Unlink listener death recipient on alarms Stopped using BinderDeathDispatcher as deduping is no longer required. If an app sets the same listener, it is first removed internally which will result in a call to unlink before the subsequent call to set. Test: Manually using a test app that cancels and sets an alarm with a new listener instance in a loop. atest CtsAlarmManagerTestCases:BasicApiTests Bug: 189091551 Change-Id: I390d9bba37a4040b7e789e0ae04f9980fbed5c12