[pm] properly clean up early install failures
Basically a no-op, but still worth fixing to avoid confusions. Currently
we don't cleanup the code path if the early install stages fail.
The issue was there even before ag/19246346, so I am not sure if it's a
recent regression. Most of the time, install failure is from copyApk, which
means it doesn't matter if we don't clean up the code path, as it will
be empty anyway. The other failure case would be if
copyNativeBinariesWithOverride fails, but if it does, the verify() stage
of the installation would have failed too, so we wouldn't come to this
code path anyway.
BUG: 259470449
Test: manual
Change-Id: I378268bb39bc0d6ab8b301225720273ec100bba4
1 file changed