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

Skip to content
Commit 3d73499a authored by Fyodor Kupolov's avatar Fyodor Kupolov
Browse files

Optimized locking for get/setUserData

This change improves locking in the following methods:
 - setUserdata. cacheLock is only held when calling
   writeUserDataIntoCacheLocked
 - readUserData. dbLock is obtained only if not cached

Test: AccountManagerServiceTest
Bug: 36485175
Bug: 35262596
Change-Id: I65b939acedd69e3113c24b7e6788c7aefc6ba25a
parent 8931dc5d
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