diff options
author | Jordan Jozwiak <jjoz@google.com> | 2020-11-03 09:50:49 -0800 |
---|---|---|
committer | Jordan Jozwiak <jjoz@google.com> | 2020-11-03 09:50:49 -0800 |
commit | fe5e0cab26104e28ceb4e1a81ae37e3b60f3437f (patch) | |
tree | 562f4a331363cbe0acfd2a4670aa584fbf696a26 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 64ec3641ad110eb5e2875c50e2797ead0932fa2c (diff) |
Allow CREATE_USERS for removeUserOrSetEphemeral
The removeUserOrSetEphemeral() API currently requires the
MANAGE_USERS permission, whereas removeUser() requires either
MANAGE_USERS OR CREATE_USERS.
As documented in the CREATE_USERS permission declaration, it allows an
application to create or remove users and endow them with the ephemeral
property. The empeheral flag is explicitly supported in
UserManagerService#ALLOWED_FLAGS_FOR_CREATE_USERS_PERMISSION.
Bug: 155913815
Bug: 172247872
Test: atest EphemeralTest # on a user build
Change-Id: I6cec670bd9b43c9fe8a16dbf28e394ac22118d37
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions