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

Skip to content
Commit 2c94851d authored by Ivan Chiang's avatar Ivan Chiang
Browse files

[PM] Restore the PackageSetting value correctly

- ArrayUtils#appendInt doesn't allow the duplicated case by default.
  The behavior is like `Set`. Add more checks for restoring the split
  information.
- Add array length check in PackageManagerServiceUtils#checkDowngrade

Flag: EXEMPT bugfix
Bug: 355067421
Bug: 350851527
Test: atest PackageManagerSettingsTests
Test: atest PackageManagerServiceUtilsTest
Change-Id: I28cadf75c3b43f549870a1461cb01aff73e9d00c
parent 8c45ead4
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