Delete runtime images when deleting artifacts and after dexopt.
The deletion is performed on `dexoptPackage` (`pm compile`),
`resetDexoptStatus` (`pm compile --reset`), and `deleteDexoptArtifacts`
(`pm delete-dexopt`).
Bug: 299442352
Test: atest ArtServiceTests
Test: adb shell pm compile -m verify -f com.android.settings
Test: adb shell pm compile --reset com.android.settings
Test: adb shell pm delete-dexopt com.android.settings
Change-Id: I165ef7c500d8dddbc1cf05c8d6b29400ff593d3a
Merged-In: I165ef7c500d8dddbc1cf05c8d6b29400ff593d3a
5 files changed