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