diff options
| author | 2024-09-04 02:46:21 +0000 | |
|---|---|---|
| committer | 2024-09-04 23:45:56 +0000 | |
| commit | 9263f255eec6b875c9fb5d022ba35aa2b940ffa4 (patch) | |
| tree | ca5bfa1adb6e67bb67e9ebe2b44719f7b6fbc809 /libs/androidfw/AssetManager.cpp | |
| parent | b7faccdcef43ba8538d7c9b25550b34662f7a84f (diff) | |
Rename checkPrivilegedPermissionAllowlist()
Rename method checkPrivilegedPermissionAllowlist() to avoid
confusions on understanding the code.
We could also split this method into shouldCheckAllowlist()
and checkAllowlist() to avoid the confusion. However, since
we will always call these two methods together, it's cleaner
to put these two together. Hence renamed this method to
checkPrivilegedPermissionAllowlistIfNeeded(). Also added doc
to explain the return values.
Bug: 364435115
Test: Build
Flag: DOCS_ONLY
Change-Id: I8071b6860da4853c7a74e1d2daf1748ccb6cbd6e
Diffstat (limited to 'libs/androidfw/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions