commit | 7d40780e398a38a69a2325c3f091a61b04dc6206 | [log] [tgz] |
---|---|---|
author | Suprabh Shukla <suprabh@google.com> | Sun Apr 26 20:04:55 2020 -0700 |
committer | Suprabh Shukla <suprabh@google.com> | Tue Apr 28 15:37:21 2020 -0700 |
tree | 6906e432a9cced79d6889f046d37f63213cf41af | |
parent | 8a36b147a0111d79a11f004a5fce06f19279797b [diff] |
Don't remove OnAlarmListener mappings in the client Removing the mapping is prone to races in keeping the state consistent with the server. An inconsistent state can lead to multiple alarms on the server for the same listener. Test: atest CtsJobSchedulerTestCases doesn't fill the alarm queue with more than one alarm. atest CtsAlarmManagerTestCases Bug: 154444435 Change-Id: Iaf11d5decb17fbf2366b49d9865231bf65dbdc41