Skip to content
Commit f85f3a29 authored by Nikita Ioffe's avatar Nikita Ioffe
Browse files

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)
parent 98811d90
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment