commit | 351a8fb4155323beadefa29482a0610b4d4153d6 | [log] [tgz] |
---|---|---|
author | Adam Bookatz <bookatz@google.com> | Mon Dec 23 10:09:14 2019 -0800 |
committer | Adam Bookatz <bookatz@google.com> | Mon Jan 06 14:04:42 2020 -0800 |
tree | f2a460e29319994df1af3752a6ce7dbd82878c8c | |
parent | 52060dca88768b7c2b4ab2cf39f42edfd5d22b1f [diff] |
UserManager.isUserOfType Replaces the UserManager.getUserType API with isUserOfType, where the suspected type is passed in as a parameter. Also makes this API require MANAGE_USERS. Test: atest UserManagerServiceUserInfoTest Test: atest UserManagerTest Bug: 142482943 Change-Id: Icca1d5d9a36bfc1422c3f37456135ce69c3f3b38