commit | 71cfb04dfc2058f1040eb3f890efb6ee0efc18b4 | [log] [tgz] |
---|---|---|
author | Motomu Utsumi <motomuman@google.com> | Mon Jul 08 12:10:48 2024 +0900 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sat Jul 20 07:01:16 2024 +0000 |
tree | 381115298ded739230adce17694064f8005f37b4 | |
parent | 43c04c0cb35f08004ac4a93c6a63b196eb51693f [diff] |
Add lock to update mCache from the constructor Without lock, it's not guaranteed that the methods see values populated by the constructor Bug: 349952743 Test: TH (cherry picked from https://android-review.googlesource.com/q/commit:053f9e63e5271be6bb5f10992141cd3c273971b4) Merged-In: I5c98766a22047f49ad3338bfe620d3b8f4ef477e Change-Id: I5c98766a22047f49ad3338bfe620d3b8f4ef477e