commit | 21f9a37d36da5a004e79250037a4b60e8d1e5563 | [log] [tgz] |
---|---|---|
author | Andrei Onea <andreionea@google.com> | Mon Dec 07 20:07:15 2020 +0000 |
committer | Andrei-Valentin Onea <andreionea@google.com> | Wed Dec 09 16:08:08 2020 +0000 |
tree | bef1d186c5275016016cb3dcefbe0b06d0806dd0 | |
parent | ce36b5f924283240a27fbaa520269b43e13ffd69 [diff] |
Make CompatFramework::ReportChange thread safe Guard accesses to reported_compat_changes_ with reported_compat_changes_lock_. Guarding disabled_compat_changes_ should not be necessary, as it's initialized synchronously early after zygote fork, never to be changed afterwards. Bug: 174843201 Test: manual Change-Id: I73b5dadf0576c2bc163602f566486172c35dd78d