summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Ivan Chiang <chiangi@google.com> 2024-07-24 11:53:35 +0000
committer Ivan Chiang <chiangi@google.com> 2024-07-26 07:04:15 +0000
commit2c94851d86afbb2579eb0997cf3e6f074626c151 (patch)
tree7f0eafc6b46bc6fc24258ec8c5a890540f3e4ef3 /libs/androidfw/FileStream.cpp
parent8c45ead44014c962d8d37bf2eee641532c06b8bc (diff)
[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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions