commit | 8e60a8fd1b1e4aec6596898f2e4e47916305bfbd | [log] [tgz] |
---|---|---|
author | Hai Zhang <zhanghai@google.com> | Tue Nov 20 11:21:09 2018 -0800 |
committer | Hai Zhang <zhanghai@google.com> | Tue Nov 20 15:14:58 2018 -0800 |
tree | 5408c7268449d701675151c36cc7628c3946bb00 | |
parent | 6b622a868d5115197596489870f1c73943fd3c87 [diff] |
Add role initialization to RoleControllerService. This change adds RoleManager.setRoleNamesFromController() to allow RoleControllerService to initialize the roles for a user. This change also fixes the persistence of roles by calling writeAsyncLocked(). Bug: 110557011 Test: build Change-Id: I921b6aa691478ca4c0dd1a75fc929a96ce1e7df5