commit | 34ef6fa681b7af4a91999c6ec65c96240f370c53 | [log] [tgz] |
---|---|---|
author | Ming-Chen Chung <mingchenchung@google.com> | Thu Nov 09 03:09:32 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Nov 09 03:09:32 2023 +0000 |
tree | fe30e4ef11a9b1d8e6f53b591c03a10649afdf96 | |
parent | f3ff70a6dc2ffdcddeea6e131f0c96bd3e3476e2 [diff] | |
parent | 93966d348c64218bfcf704d60a6a83a2ec27cc64 [diff] |
According to error message, SL4A installation should add with a "-t" option. am: 3cffd26596 am: 93966d348c Original change: https://android-review.googlesource.com/c/platform/tools/test/connectivity/+/2821370 Change-Id: I5f40cb120e73ac6f3c9d69a7732edaa92c97ff6f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/acts/framework/acts/libs/ota/ota_runners/ota_runner.py b/acts/framework/acts/libs/ota/ota_runners/ota_runner.py index 290e5bb..ba21c0c 100644 --- a/acts/framework/acts/libs/ota/ota_runners/ota_runner.py +++ b/acts/framework/acts/libs/ota/ota_runners/ota_runner.py
@@ -68,7 +68,7 @@ self.android_device.log.info('Re-installing SL4A from "%s".', self.get_sl4a_apk()) self.android_device.adb.install( - '-r -g %s' % self.get_sl4a_apk(), ignore_status=True) + '-r -g -t %s' % self.get_sl4a_apk(), ignore_status=True) time.sleep(SL4A_SERVICE_SETUP_TIME) if self.android_device.is_sl4a_installed(): break