commit | cdc85c595bb256cc8af37a3bda35e330588bfca5 | [log] [tgz] |
---|---|---|
author | Hai Zhang <zhanghai@google.com> | Thu Dec 06 13:56:55 2018 -0800 |
committer | Hai Zhang <zhanghai@google.com> | Thu Dec 06 15:09:56 2018 -0800 |
tree | c919386305ef03587f6f240ac3330d3d8200463d | |
parent | 33456fbfd75cd78aa8350c483c406f2573b0a98d [diff] |
Make RoleUserState use its own lock. This change makes RoleUserState to use its own lock, so that it can access its own lock whenever it wants. This change also fixes the issue that getting controller service wasn't properly locked, and getting role holders didn't return a copy of data to prevent parallel modification. Bug: 110557011 Test: manual Change-Id: I922fce09a62e15da1be7138d34d9a3583513e40e