commit | 6ddb9a0bea3976a4c5e4f3854f86db8bbd120c15 | [log] [tgz] |
---|---|---|
author | Andrei Onea <andreionea@google.com> | Fri Jul 16 17:49:57 2021 +0000 |
committer | Andrei Onea <andreionea@google.com> | Fri Jul 16 18:08:32 2021 +0000 |
tree | 5a40ed95befc4a5695eb9c9d76bedfd6fc5138fb | |
parent | ea5ce681f312f26255bef2c754c0728550ad060b [diff] |
Use ReentrantReadWriteLock in the compat framework The compat config is read frequently but modified infrequently (i.e. only when new overrides are added), so use a ReentrantReadWriteLock instead of the default reentrant lock. Test: atest CompatConfig Bug: 191384882 Bug: 191718541 Change-Id: I21da41ea51bb722c45245eccb02652b375be9f12