diff options
author | Suprabh Shukla <suprabh@google.com> | 2019-04-12 17:19:30 -0700 |
---|---|---|
committer | Suprabh Shukla <suprabh@google.com> | 2019-04-26 17:37:16 -0700 |
commit | 5afe2f314c34bca2e43982fa35f68b0adb60735e (patch) | |
tree | 4a4c53b45889cf7c5d4b9c4a65e07d218070f793 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 26e44f9c24fb5113de8e94ac0d78c91ee5d0885a (diff) |
Decrement while removing from secondary lists
Many times alarms are moved to secondary lists like
mPendingWhileIdleAlarms. A cancel or a remove request will then remove
these alarms from here, in which case we need to decrement the alarm
counts appropriately.
Also, stubbing the handler in the test to fix flaky behaviour.
Test: atest CtsAlarmManagerTestCases
atest FrameworksMockingServicesTests:AlarmManagerServiceTest
Bug: 129995049
Bug: 130376760
Change-Id: I353f2b55cfd9566945b27b0807689a9d3e7c50fc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions