diff options
author | JW Wang <wangchun@google.com> | 2020-07-08 17:06:36 +0800 |
---|---|---|
committer | Mohammad Samiul Islam <samiul@google.com> | 2021-04-22 00:04:22 +0100 |
commit | 347843b2988a059bf9261bde1fbe257c89024586 (patch) | |
tree | 9a9a670101174876a471bc24c739791e288553a7 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 68a604b920358b3b493bd13ec75e0fab22a9da95 (diff) |
Rewrite how we abandon sessions
The original code is flawed in that `pm install-abandon` only abandons
the 1st session returned by `pm get-stagedsessions ...`.
1. move AbandonSessionsRule to be shared by multiple host tests
2. use AbandonSessionsRule to do the job
Bug: 160754072
Bug: 185973415
Test: StagedInstallInternalTest
Change-Id: Ib7b32fbd7b1133ac6a8e6782234a4fe2c5a782bd
Merged-In: Ib7b32fbd7b1133ac6a8e6782234a4fe2c5a782bd
(cherry picked from commit 3ac333f2d20e240093235d957ba67ce174fe2db8)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions