commit | 8b5178beac7013fae4ffa1cb37ab2aa5a443ff3f | [log] [tgz] |
---|---|---|
author | Aaron Liu <aaronjli@google.com> | Thu Dec 01 18:48:18 2022 -0800 |
committer | Aaron Liu <aaronjli@google.com> | Thu Dec 01 19:06:54 2022 -0800 |
tree | 05620c53a3b3ce1b162c0eb552ec995f4f916a63 | |
parent | e7aef726bb4e8d80e01c408c42d2bc60447662dc [diff] |
Fix fatal exception in FakeBroadcastReceiver. It seems like an exception is thrown because ArraySet is not thread-safe. Use a synchronized hash set for the receivers. Fixes: 261099639 Test: atest KeyguardQuickAffordanceProviderTest Change-Id: I39c43bb2d5dbdc6705b5dec4b362d75189c136d9