diff options
author | Suprabh Shukla <suprabh@google.com> | 2020-04-26 20:04:55 -0700 |
---|---|---|
committer | Suprabh Shukla <suprabh@google.com> | 2020-04-28 15:37:21 -0700 |
commit | 7d40780e398a38a69a2325c3f091a61b04dc6206 (patch) | |
tree | 6906e432a9cced79d6889f046d37f63213cf41af /tools/aapt2/java/JavaClassGenerator.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions