commit | a04de842d1ca5aa7d270ef074f8f423da0517797 | [log] [tgz] |
---|---|---|
author | Stefan Andonian <andonian@google.com> | Thu Nov 17 18:56:09 2022 +0000 |
committer | Stefan Andonian <andonian@google.com> | Thu Nov 17 20:46:51 2022 +0000 |
tree | e7659d43f5386d950f019b08f2c4587507d7c314 | |
parent | 698239e16a2b2f0232c53d269812de8b49700665 [diff] |
Fix ConcurrentModificationExceptions during binding. The same lists of extra items stored in BgModelData are also stored in UI components. This is causing ConcurrentModificationExceptions. The solution is to clone these lists or mark them as immutable before storing them in their respective components. Bug: 206918543 Test: Verified that crash no longer occurs after fix. Change-Id: I571a2c451af58137aa7513b372b6a8ecf9bd3ff6