diff options
| author | 2024-10-23 12:09:36 -0700 | |
|---|---|---|
| committer | 2024-10-23 12:24:01 -0700 | |
| commit | 570206560827de04aaa30661825973e537ebc390 (patch) | |
| tree | b8eebf1ce3d056403067e62dad5c692a4abe8db7 /libs/androidfw/FileStream.cpp | |
| parent | d2a8a229326e5e2d2b0584f2c23b3ccef6563c08 (diff) | |
Document UserProperties getter permissions
The ability to call UserProperties getters require permissions, which
are set in the Constructor code. Since it's not obvious to look in the
Constructor, we should also annotate the getters with the permission
requirements.
This cl also fixes the toString() method, which previously would have
thrown an Exception if called by a non-privileged caller.
Flag: EXEMPT bugfix
Test: atest UserManagerServiceUserPropertiesTest
Change-Id: Id3c60f3160f768bf92384410a22f53fbb907a0fb
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions