diff options
| author | 2023-12-13 18:01:14 -0800 | |
|---|---|---|
| committer | 2023-12-16 02:17:47 +0000 | |
| commit | f49f75b942c608942c45883e7a0e4cf653fefb20 (patch) | |
| tree | c7e170d0277c4fd403f6e2f2fb7c9f4d7057dcc1 /libs/androidfw/misc.cpp | |
| parent | e4d0a065c306eca0c18fadeaed02fb6acebd38fd (diff) | |
[pm] keep record of old code paths for DONT_KILL
Remember the old code paths till they are deleted or next reboot.
BUG: 291212866
Test: manual with dumpsys. Steps:
Test: adb shell device_config set_sync_disabled_for_tests persistent
Test: adb shell device_config put package_manager_service android.content.pm.improve_install_dont_kill true
Test: adb reboot
Test: adb install out/target/product/oriole/testcases/CtsPackageManagerTestCases/arm64/CtsPackageManagerTestCases.apk
Test: adb install -p android.content.cts --dont-kill out/target/product/oriole/testcases/CtsPackageManagerTestCases/arm64/CtsPackageManagerTestCases_hdpi-v4.apk
Test: adb install -p android.content.cts --dont-kill out/target/product/oriole/testcases/CtsPackageManagerTestCases/arm64/CtsPackageManagerTestCases_mdpi-v4.apk
Test: adb shell dumpsys package android.content.cts
...
Packages:
Package [android.content.cts] (96dcd08):
appId=10284
pkg=Package{3e3bd99 android.content.cts}
codePath=/data/app/~~18rBVZSv1eM-N57FoDiipg==/android.content.cts-ml8Eu3ATfq-vE-6jPBuwrw==
oldCodePath=/data/app/~~7Nm84FuSQyQbowmQlFpzIQ==/android.content.cts-n6lXiSDvOOvROWtDhwQbKQ==
oldCodePath=/data/app/~~1zIiiOR5rCIozXtw7mAyEQ==/android.content.cts-3LyIwg5UcWRCuyMjQ4Jvlw==
resourcePath=/data/app/~~18rBVZSv1eM-N57FoDiipg==/android.content.cts-ml8Eu3ATfq-vE-6jPBuwrw==
...
Test: atest com.android.server.pm.PackageManagerSettingsTests
Change-Id: I99c57d5fd553bc98a350cb7cc1640c556dbb500f
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions