diff options
| author | 2022-01-19 00:07:57 +0000 | |
|---|---|---|
| committer | 2022-01-24 21:59:07 +0000 | |
| commit | e7a1b7b9f0f712b99eb07ccb67c67d047bb6eaf6 (patch) | |
| tree | 2f38f1ac33d17855087d894eb3bce9fed642b2f5 /libs/androidfw/StringPool.cpp | |
| parent | c5900ec5711c49f4e81e050a3913254000f34771 (diff) | |
Add APIs to UserManager for getting remaining user/profile counts.
Add UM.getRemainingCreatableUserCount(userType) method as a system API.
Add UM.getRemainingCreatableProfileCount(userType, allowedToRemoveOne) method as a system API.
Bug: 208842920
Bug: 142482943
Test: atest android.multiuser.cts.UserManagerTest
Change-Id: I286fe10b2c8448aeb03ee6c791d415ef62f50451
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions