Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 42090b95 authored by Andrei Onea's avatar Andrei Onea
Browse files

Switch to ConcurrentHashMap for CompatConfig

Use ConcurrentHashMap instead of a SparseLongArray guarded by a
reentrant readwrite lock to make CompatConfig.isChangeEnabled as fast as
possible.

Test: atest CompatConfigTest
Bug: 197712476
Bug: 191398285
Change-Id: I498c439baf3e060ec7feb68ed581ca680e2ebcad
parent 574a6bfe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment