Add --non-staged flag
The child change will change the behaviour of --force-non-staged flag to perform a rebootless APEX update even for APEXes that don't support rebootless updates. This behaviour will be used to speed up development cycle for teams that have their code packaged in an APEX. However, some developers (and some tests) assume that adb install --force-non-staged will fail for APEXes that don't support rebootless updates. In order to preserve such behaviour, this change introduces a new --non-staged flag. Bug: 290750901 Test: adb install --non-staged apex-supporting-rebootless-update Test: verify install was successful Test: adb install --non-staged com.android.virt.apex Test: verify install failed with "does not support non-staged update" Merged-In: I27ac000207e1b6ec39890bd382b3751fbb62e265 Change-Id: I27ac000207e1b6ec39890bd382b3751fbb62e265 (cherry picked from commit d2d672e3)
Loading
Please register or sign in to comment