Abort apex session if APK part of a train failed

Since in this case apex session can only be in state ACTIVATED, aborting
it will result in a apexd rolling back /data/apex/active to the previous
state. Unlike native-watchdog scenario, apexd won't reboot device, so
it is StagingManagers responsibility to issue a reboot.

Bug: 123622800
Test: install-multi-package apk + apex, apex got rolled back after reboot
Change-Id: I16dfa5a99fc8251ee335df9edfcad36c88785257
2 files changed