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

Skip to content
Commit e7a1b7b9 authored by Yasin Kilicdere's avatar Yasin Kilicdere
Browse files

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
parent c5900ec5
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