summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
author Hai Zhang <zhanghai@google.com> 2022-11-04 08:37:26 +0000
committer Hai Zhang <zhanghai@google.com> 2022-11-05 20:56:42 +0000
commitea82335c13155c71e2187635ce8fb25f180316e2 (patch)
tree30bc6fa4ef9260def3be4035c24a3f055c272bf5 /libs/androidfw/Util.cpp
parent84d43a7e7258e66e5577f5dd978cafbf58012b54 (diff)
Add knownCerts to system API and copy constructor.
PermissionInfo.PROTECTION_FLAG_KNOWN_SIGNER is already @SystemApi, and we need system API for accessing the actual certs in the modularized permission subsystem. The copy constructor missed knownCerts in ag/13504004 and is fixed now. knownCerts isn't deep copied in the copy constructor because PackageItemInfo.metaData isn't deep copied either. Bug: 182523293 Test: atest CtsContentTestCases:PermissionInfoTest Change-Id: I784764fdf7238f6b10455ff40c693de0823a94cb
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions