diff options
author | Mohammad Samiul Islam <samiul@google.com> | 2020-06-25 16:07:15 +0100 |
---|---|---|
committer | Mohammad Samiul Islam <samiul@google.com> | 2020-09-22 10:36:35 +0100 |
commit | b34f6b5c52ca733452f3287662ba73acdb3d3ef9 (patch) | |
tree | 4d746da6593ae2a087b826c2201c1486a530417c /rs/java/android/renderscript/Program.java | |
parent | 9a4505c4fbb3a849a74c092d1c05298d80b1f73f (diff) |
Replace broken --wait flag with --wait-for-staged-ready flag
Read b/158314277#2 to understand how the flag got broken.
Since both streaming install and staged install are using --wait flag,
we need to change one of them to avoid conflict. We decided to change
the generic --wait flag for staged install to something more specific
like --wait-for-ready to avoid future conflicts.
Also added some internal test so that we can catch broken shell commands
sooner.
While at it, added test for --no-wait flag and install-multi-package
command too.
Bug: 158314277
Test: atest StagedInstallInternalTest#testAdbStagedInstallWaitForReadyFlagWorks
Test: atest StagedInstallInternalTest#testAdbStagedInstallNoWaitFlagWorks
Change-Id: I8d2d0db56a00cfffc942963c3ee72464ea770c88
Merged-In: I8d2d0db56a00cfffc942963c3ee72464ea770c88
(cherry picked from commit 42414a3ad81bad0e5612a37da03798e1a7911265)
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions