summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorNikita Ioffe <ioffe@google.com>2019-03-11 14:29:23 +0000
committerNikita Ioffe <ioffe@google.com>2019-03-11 15:20:16 +0000
commite2d52f57147a2615c8f73049bd515c8fc0bc89e9 (patch)
tree839f470ed0f4f263bdcda91e5f0032d250b33479 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent061317ba275d2d34ba14f3ebffb410c2b2f83302 (diff)
Abort apexd session only if staged session contains apex
* Always abort staged session. It's fine if aborting an apexd session fails. Apexd will wipe out metadata about previous sessions when committing a new one any way. * Don't fail if there is no apexd session associated with this staged session. This can happen if abortCommittedSession was called twice. In this case second call will be a no-op. Which feels like a desired behaviour. Test: adb install --staged foo.apk && adb shell pm install-abandon Bug: 128108135 Fixes: 128108135 Change-Id: I016534d957ea559289a2e3d97e603a5e4d146e35
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions