commit | 85c8c448e894b16be4a0d96ba3aeb4d2d3fa2b81 | [log] [tgz] |
---|---|---|
author | Yasin Kilicdere <tyk@google.com> | Fri Sep 06 16:09:18 2024 +0000 |
committer | Yasin Kilicdere <tyk@google.com> | Fri Sep 06 16:09:57 2024 +0000 |
tree | 5069ab35768504dd1bff5ff0e77ab1920612d196 | |
parent | db99fedeadd331fa8f037d90902a23dfc530febc [diff] |
Make UserTrackerImpl.userInfo thread-safe. The userInfo property was not synchronized, which was causing crashes in some cases. In the previous implementation userProfiles could change and not contain the userId, throwing NoSuchElementException. This CL makes the property thread-safe. Bug: 363466988 Change-Id: Ibc5f9ea8d50f729e9d24b4647999350b4ea577a4 Test: None Flag: EXEMPT bugfix