summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorNikita Ioffe <ioffe@google.com>2023-07-20 00:11:13 +0100
committerNikita Ioffe <ioffe@google.com>2023-07-27 13:48:10 +0000
commit4e8f0b0fb066c52aa66d0f19e1a20c9f646d639b (patch)
treedd0f4b04ffb3c8a27c7f60a975964291e7779ff4 /libs
parenta46c33d53f08f0e9292d896807d9aabebe5a6c0c (diff)
downloadcts-4e8f0b0fb066c52aa66d0f19e1a20c9f646d639b.tar.gz
Switch to new --non-staged flag
Another change in the topic introduces this new flag to preserve the behaviour of non-staged APEX updates will all the safety checks enabled, since the --force-non-staged flag will be used to forcefully apply rebootless APEX update. Bug: 290750901 Test: presubmit Merged-In: Id19e9a2c69af2638867c19b191ee3f86b84d902f Change-Id: Id19e9a2c69af2638867c19b191ee3f86b84d902f
Diffstat (limited to 'libs')
-rw-r--r--libs/install/src/android/cts/install/lib/host/InstallUtilsHost.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/install/src/android/cts/install/lib/host/InstallUtilsHost.java b/libs/install/src/android/cts/install/lib/host/InstallUtilsHost.java
index 303bd3ce2d6..2a37038bb8f 100644
--- a/libs/install/src/android/cts/install/lib/host/InstallUtilsHost.java
+++ b/libs/install/src/android/cts/install/lib/host/InstallUtilsHost.java
@@ -155,7 +155,7 @@ public class InstallUtilsHost {
* for verification to complete
*/
public String installRebootlessPackage(File pkg) throws Exception {
- return getTestInfo().getDevice().installPackage(pkg, false, "--force-non-staged");
+ return getTestInfo().getDevice().installPackage(pkg, false, "--non-staged");
}
/**