commit | a234ae3d9bd2b60122c7d211dbd9c7357cc8ef7b | [log] [tgz] |
---|---|---|
author | Robert Gross <robertgross@google.com> | Wed Aug 02 11:32:14 2023 +0200 |
committer | Christophe Koessler <ckoessler@google.com> | Fri Aug 18 21:38:32 2023 +0000 |
tree | 4930f622dce818ac83a53929504526eb829525b5 | |
parent | c56730bfba1597b1f12ada1cc0456ae28c82ee60 [diff] |
Make NotificationDataManager thread safe. Adding synchronize blocks when accessing internal list and maps for write and read operation. Simplified copying of visible notifications. Test: atest CarNotificationUnitTests Bug: 291870877 bug: 296618427 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a3dd050ef122cba69070d65f6b4d3e9d2c735c99) Merged-In: I6ae619ba3dab23ad6e3488fdb180668d8759a411 Change-Id: I6ae619ba3dab23ad6e3488fdb180668d8759a411