commit | 39a6a5bf1e2cf53bf2e5de673a201edc2ce836e3 | [log] [tgz] |
---|---|---|
author | Nikita Ioffe <ioffe@google.com> | Tue Feb 26 15:36:39 2019 +0000 |
committer | Nikita Ioffe <ioffe@google.com> | Tue Feb 26 16:48:27 2019 +0000 |
tree | 3d6cd1cd389016983a18c8af539b4f922d5d175a | |
parent | 4fecb6af1a432d1c17cc18751d9d67221f3db965 [diff] |
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