diff options
| author | 2024-05-20 15:41:19 +0100 | |
|---|---|---|
| committer | 2024-05-20 15:41:19 +0100 | |
| commit | 7fc3c8481c0add1590da90b615e2b0c6d2ebbbd1 (patch) | |
| tree | b34eacd1c048d707630522d91016f049bf3c4ef1 /libs/androidfw/StringPool.cpp | |
| parent | d59e10ca34a8b332bd1aa930f37d36c98ca08b86 (diff) | |
Expand DISALLOW_GRANT_ADMIN restriction
Expand the functionality of DISALLOW_GRANT_ADMIN to include the following:
If applied to a user without admin privileges, it functions as before (prevents them from gaining admin rights).
If applied to a user with existing admin privileges, it additionally won't let the user give admin access to other users.
Test: only java doc change
Bug: 341695742
Flags: only java doc change
Change-Id: I33b7000690af45407f3f52d41132da92dacdedba
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions