diff options
author | 2025-01-23 16:38:20 +0000 | |
---|---|---|
committer | 2025-01-23 11:36:11 -0800 | |
commit | 5af689e1e462a11c5a7ac94b8cfcd87e9e0b00d3 (patch) | |
tree | 5db810ef29abe17d861bc5c3ae895da37781ee81 /media/tests | |
parent | 1d5e6a1168cb7db993019aa18614448dc75be61a (diff) |
Make StatusBarNotification#mContextForDisplayId thread safe
The context can be get also from background threads. So it was possible that clearPackageContext was clearing the mContextForDisplayId while a new context was being created, resulting in a ConcurrentModificationException
Bug: 362719719
Bug: 390567645
Test: StatusBarNotificationTest
Flag: com.android.systemui.shade_window_goes_around
Change-Id: Iea03b2d0c42641d91589b7383c0bd5ee542433a7
Diffstat (limited to 'media/tests')
0 files changed, 0 insertions, 0 deletions