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

Skip to content
Commit 39952bb8 authored by Ivan Chiang's avatar Ivan Chiang
Browse files

[PM] Add downgrade check for split apps when data exists

- Add BaseRevisionCode in PackageSetting
- Preserve the related split info downgrade check  when the app is
deleted with keeping data and archived app cases. After the package
is installed successfully, remove the related information to reduce
performance concerns.

Flag: android.content.pm.archiving
Bug: 348131934
Bug: 350851527
Test: atest PackageManagerSettingsTests
Test: atest PackageManagerTest
Test: atest PackageInstallerArchiveTest
Test: atest ArchiveTest
Change-Id: I195b44a31dfd7f14187a8495a8ca2327215e463b
parent a2cf8a5e
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