summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Felka Chang <felkachang@google.com> 2021-11-18 23:46:37 +0800
committer Felka Chang <felkachang@google.com> 2021-11-19 20:35:48 +0800
commit79d6164a836ee4afbc5d6f71942e824797cd75d6 (patch)
tree773292e1f5508ebd998d61db4a0808f14c6c6d09 /api/api.go
parentc3c442a8b5c162cee200828cdce96f42e4117958 (diff)
Fix wrong matcher for PackageSetting.keySetData
The copy constructor of PackageSetting is using `new PacakgeKeySetData(other.keySetData)` in copyPackageSetting function. The current test compare the expected result by comparing reference. It should compare the expected result by comparing the individual private member fields in PackageKeySetData. * mProperSigningKeySet * mUpgradeKeySets * mKeySetAliases Fixes: 206929914 Test: TP="FrameworksServicesTests"; atest \ ${TP}:com.android.server.pm.PackageManagerSettingsTests Change-Id: I993be33b10dfe0483ca4c3b874a49c5f1fdae41d
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions