[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
Loading
Please register or sign in to comment