summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Rhed Jao <rhedjao@google.com> 2022-05-26 15:00:46 +0800
committer Rhed Jao <rhedjao@google.com> 2022-06-01 12:33:48 +0800
commit8f7e68c0f4b00f88aa0b8305aaa3ddc9ddfc1c29 (patch)
treef842934288be4dced2eac217abcceb4c7c2877f0 /libs/androidfw/StringPool.cpp
parent6d8dfd00779cf98fa94b560663664e5ee8bad23b (diff)
Fix cross user package visibility leakage for getAppOpPermissionPackages
To fix cross user package visibility leakage, this CL filters out packages that aren't installed in the calling user before the API returns results to the caller. Also adding a user id parameter to the API for the system modules to specify the correct user id when querying the appop permission packages. NoNonSdkCheck: Keep @UnsupportedAppUsage for new signature api Bug: 229684723 Test: atest CrossUserPackageVisibilityTests Change-Id: I9d3de91b0195d3396d2737673cb23ef899e23467
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions