diff options
author | Richard Uhler <ruhler@google.com> | 2019-07-01 16:27:43 +0100 |
---|---|---|
committer | Bill Lin <lbill@google.com> | 2019-11-21 17:10:55 +0800 |
commit | 1d5db7776ecb158302fed124f6ef75ea1324a47a (patch) | |
tree | 8bb45c4ec6f085e6aeabbee283d53aea0db0cfd0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | bcf89b81f505660eecc9980f2fdb0c95184197d5 (diff) |
delete ENABLING rollback if we can't get session info for it.
If we can't get the SessionInfo for a rollback in ENABLE state on boot,
then presumably we'll never be able to get SessionInfo for it, so delete
the rollback.
Test: adb install TestAppAv1.apk;
adb install --enable-rollback --staged TestAppAv2.apk
dumpsys rollback
adb shell pm install-abandon <stagedSessionId from dumpsys rollback>
adb reboot, confirm /data/rollback/<rollbackId> does not exist
adb reboot
dumpsys rollback, confirm rollback is no longer listed.
Bug: 134652027
Change-Id: I3c5114e0e6b1fa877cd9e7bd2b4cd18c53d6b3ef
Merged-In: Ie583536d0ec75c442bd4c9e4456bee120050728c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions