commit | 6129cfa7aff92e8d76f1f36f6e272d388a32f863 | [log] [tgz] |
---|---|---|
author | Jan Tomljanovic <jtomljanovic@google.com> | Wed Dec 09 20:17:42 2020 +0000 |
committer | Jan Tomljanovic <jtomljanovic@google.com> | Thu Dec 10 11:31:45 2020 +0000 |
tree | 61f96bcdeb90ae3c1d4f8d277caa07b08a7b8fc2 | |
parent | 7bd311cf7a957729c5d6f95975654358bcedc4b7 [diff] |
Fix the bug where inner lock in MultiRateLimiter is null. The bug would occur when Mockito stopped mocking methods when the test is done, but the mocked object still exists, and is then accessed as a scheduled message triggers it. Test: atest NotificationManagerServiceTest Bug: 174997218 Change-Id: I3c76456927bb0c27945b137187011b5eb3c7102c