summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Song Chun Fan <schfan@google.com> 2024-10-16 14:23:00 -0700
committer Song Chun Fan <schfan@google.com> 2024-10-22 13:38:43 -0700
commit9b5439b32a2b8ac2fa15392c509178eb299327b2 (patch)
tree412404c460d4eb7923783463471c9a3d8cc82ae7 /libs/androidfw/ObbFile.cpp
parent425d3d5aa3c5511a5197cd0f4f8f919e498e7ecb (diff)
[7/N] only the current verifier can call VerificationSession APIs
Only the current verifier bound by the system can call VerificationSession APIs and the PackageInstaller API to change the verification policy. This makes sure that even if there are multiple verifiers installed on the device, only the one bound by the system can affect the ongoing installations. + Removes @RequiresPermission from VerificationSession APIs because we no longer directly check for caller permission (instead, we are checking for UID matches) + Add shell commands to get/set the global policy (for testing) + Improve error handling when binding to the verifier has failed + Some code polish FLAG: android.content.pm.verification_service BUG: 360129657 Test: atest CtsPackageManagerTestCases:VerifierServiceTest Change-Id: If90d075ff117c666ae71bb593cad284f65f4d123
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions