Keeps art profile for pre-dexopt

When pre-dexopt, the profile is created before commit install package. There are also
clear app data and the profile during commiting. So add a flag to avoid
to delete the profile for pre-dexopt.

Bug: 321139675
Flag: android.content.pm.improve_install_freeze
Test: atest CtsStorageHostTestCases:android.appsecurity.cts.StorageHostTest#testVerifyStatsByDataType
Test: atest CtsPackageManagerTestCases
Test: atest CtsInstallHostTestCases
Test: atest CtsCompilationTestCases
Change-Id: If22165407f5edf11d383d169ea02a6c853f3e19e
4 files changed