Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 79d6164a authored by Felka Chang's avatar Felka Chang
Browse files

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
parent c3c442a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment